Does anyone have some decent tutorials for this, all of them I have found have busted code that because I am new to programming it, I don't know how to fix. If someone could direct me to a tutorial that isn't garbage that would be great .
~Wraith
Does anyone have some decent tutorials for this, all of them I have found have busted code that because I am new to programming it, I don't know how to fix. If someone could direct me to a tutorial that isn't garbage that would be great .
~Wraith
I don't know.... Hopefully somebody can recommend a good tutorial or book for you.
Sorry to say this, but my recommendation would be to learn Windows programming before attempting to struggle through one of the less-popular GUIs.
The popularity of Windows means that there are more resources for learning it. There is probably 1000 times or more the learning materials (Books, classes, tutorials, online references) for Windows as for wxWidgets. (probably 10x all other GUIs combined.) Once you understand the concepts of GUI programming, the 2nd library should be easier.
GUI programming is difficult. Petzold says it takes 6 months to learn Windows programming. (I think wxWidgets is supposed to be easier.)
Windows GUI programming is all in C, I would like to stick to C++. That is the main reason I want to use a different GUI API than Win32, unless there is a C++ version of Win32 out there somewhere.
Just because win32 api is written in C is no reason you can't use it in a c++ program. The reason you would want to use wxWidgets is because it is portable between operating systems, not because it is c++. If you want the latest and greatest, get Visual Studio 2005, but be prepared to spend lots of $$$ unless you are a student and can prove it.
There is. It's called windows programming with the MFC. MFC is the win32 API converted into C++. There are lots of books on it. MS compilers like VC++6 have an IDE that is purpose built to make programming with the MFC easier.Windows GUI programming is all in C, I would like to stick to C++. That is the main reason I want to use a different GUI API than Win32, unless there is a C++ version of Win32 out there somewhere.
Last edited by 7stud; 12-07-2005 at 04:04 PM.
VC++ 2005 Express is free for a little under a year (year from release it runs out). It is nice, although I have been looking into wxWidgets, and already got the library compiled using VC++ 2005 Express, and working.Originally Posted by Ancient Dragon
If any part of my post is incorrect, please correct me.
This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted.
And you are absolutely right. Win32 is a horrific mess and the sooner it's consigned to the dustbin of history the better.Originally Posted by Wraithan
wxWidgets is a nice OO cross platform GUI (you can even use it in python) and is a damn fine choice.
check out these tutorials
All that said, if you are hoping to work as a C++ developer, you WILL need to know MFC at some point. This is an unfortunate reality of life.
However after learning wxWidgets, you'll find MFC easy enough, although nowhere near as elegant.
"I saw a sign that said 'Drink Canada Dry', so I started"
-- Brendan Behan
Free Compiler: Visual C++ 2005 Express
If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?
I installed wxWidgets and tried to compile the DLL using VC++ 6.0 on XP. Win32 DLL Release will not compile -- get "INTERNAL COMPILER ERROR" on a lot of lines. ended with "wxmsw250.dll - 95 error(s), 63 warning(s)" ! This wxWidgets is a pretty useless when used with VC++ 6.0.
ehm, I think you'll find that should beOriginally Posted by Ancient Dragon
in fact, it could also beThis VC++ 6.0 is a pretty useless when used with wxWidgets.
or justThis VC++ 6.0 is a pretty useless when used with C++.
This VC++ 6.0 is a pretty useless.
"I saw a sign that said 'Drink Canada Dry', so I started"
-- Brendan Behan
Free Compiler: Visual C++ 2005 Express
If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?
if you want (C)oolness (Y)ou (G)et (W)here (I)nitially (N)one
get cygwin and compile with gcc
edit:
or install some linux distro right away
Last edited by Raven Arkadon; 12-07-2005 at 10:23 PM.
signature under construction