GUI in C++

Hi, I have created many console based programs in C++. But, I have not created any GUI or windows application. I am willing to learn it. It would be really helpful if anyone suggest any book or post their source code so i can look at it.

Thank You
closed account (zb0S216C)
I personally would recommend using C#, which was developed by Microsoft. The C language committee approved C#, so now it's widely used for creating user interface programs. C# is easy to use, unlike CLR.

I would not recommend using CLR as your program can get messy really quickly.

Wazak
Last edited on
Or use a cross platform library such as Qt, which supports creation of GUI applications.
http://qt.nokia.com/products/
I haven't used it much, so I don't know how much educational material is available.
Last edited on
how about simple Windows Form Applications ? ( I am using Visual Studio 2010 )
If you have Visual Studio Professional, you could look into the Microsoft Framework Classes (MFC).

Otherwise, use either a cross platform library as I mentioned before, which will yield windows forms applications on Windows, or use the WinAPI directly.
closed account (z05DSL3A)
Framework,

CLR is Common Language Runtime, Microsofts implementation of Common Language Infrastructure (CLI). The code generated from C# is CIL (Common Intermediate Language) and runs in the CLR.

I believe you are thinking of C++/CLI.
Don't you just love TLAs?
http://www.winprog.org/tutorial/ check this out if u want to learn WinApi i found it very helpful and you can also download a pdf (ebook) file from there and examples of the source code that the book is covering. I hope it helps. :)|
ok..thank you..
You could try out graphical libraries like:
SDL for 2D graphics, sound, user input. http://www.libsdl.org/
OpenGL for serious 3D graphics. http://nehe.gamedev.net/lesson.asp?index=01
Which use C++, which one would expect over C# in a forum named CPLUSPLUS.COM

Or you could stick with the console and add graphics with the curses library, if you're willing to be "retro".
pdcurses for Windows or ncurses for Linux.
http://pdcurses.sourceforge.net/
http://www.gnu.org/software/ncurses/

this question must be asked here more then 1000 times.. is google such a bad search engine.
Topic archived. No new replies allowed.