Windowed Applications

Hey Guys!

Some months ago, I started learning C++. I learned all the stuff about console applications and now I want to move on to Windowed applications. I have some questions; What's the best way to make an application in C++?, Is a Win32 GUI App better than a Windows Form Application? and How can I constuct fuctions such as Text Fields, Opening/Reading Files, etc..?

P.S. I'd be grateful if you recommend me a tutorial.

Thanks in advance!
Win32 applications are pretty verbose (especially when it comes to the initialization code, after that it gets better) and C-ish, but Windows Forms requires a language extension called C++/CLI (Common Language Infrastructure). This of course completely breaks the portability of your code, but Win32 isn't portable either so if you are just deciding between these two you should probably go for windows forms.

If you actually care for portability, you should look into something like Qt (http://en.wikipedia.org/wiki/Qt_%28framework%29 ) or wxWidgets ( http://en.wikipedia.org/wiki/WxWidgets ).

Tutorials:
Windows Forms: http://msdn.microsoft.com/en-us/library/aa290064%28v=vs.71%29.aspx
Win32: http://msdn.microsoft.com/en-us/library/bb384843.aspx

(PS: for windows stuff, always look it up at msdn first)

Qt: http://doc.qt.nokia.com/stable/tutorials.html
wxWidgets: http://wxwidgets.org/docs/tutorials.htm
Last edited on
Thanks!
Topic archived. No new replies allowed.