I've been messing around with C++ for a few weeks now. It's my third or fourth attempt at learning the language, but having learned a lot of PHP (and creating the anime SaiGar 2007 tournament) I'm finding C++ a lot easier to pick up. I've messed around with making a few console applications, but now I want to get into making apps that use a GUI.
I use both Windows and Kubuntu Linux, so what API would you recommend for a beginner like me? Win32, QT or GTK? What are the advantages, disadvantages and learning curves for each API?
Cheers
> 2. Qt for windows requires a pricey license
Isn't it free to develop GPL'd software under Windows?
I don't mean for use on BOTH Windows or Linux. Just for one OS, not both. I mainly use Linux, but I'd be more willing to try out the API for Win32 if it's easier.
Nothing about Win32 is easy. It is an API designed out of pure pain.
>>5
And spite. You mustn't forget the spite.
You don't use APIs to design programs, you silly rabbit.
Qt for Windows isn't (or wasn't?) GPLed. I seem to recall Qt for Windows becoming free - whether that's beer or freedom I don't know.
I think you could call OpenGL and maybe GLUT an option for this guy.
>>9 is right. Get the big red book and teach yourself how to buffer a window, write a mouse / kb handler, a menu, etc. Don't worry so much about 3D graphics, unless you're interested. Once you understand the fundamentals, applying that knowledge to a particular windowing system will take more time but prove more productive.