im confused...

ive been programming in the command prompt, but i was wondering how do you program with graphics and stuff like that.
Win32 programming. Alot more complicated than console programming.

Ive never actually learned it, but in the ide i use (visual studio 08) you have the options of and actual GUI program and its definitely not for me just yet.



Using mfc C++ programing is good to.
how do you use gui's? ive tried i couldnt figure it out...
A GUI is basically just an interface in a program. Whenever you open a Windows application, the buttons that are used are part of the Windows GUI. The Windows GUI can be accessed through the functions and classes available in the Windows API.

If you don't want to bother with OS-specific drawing methods, I suggest the SDL for 2D programming:

www.libsdl.org

which handles graphics (obviously), input, threads, audio, and more. Plus, your programs should be cross-platform. I suggest using the following website for tutorials on using the SDL:

www.lazyfoo.net

However, using the Windows GUI must still be done with the Windows API.
Last edited on
Uh... Are you suggesting a 2D graphics library for GUI programming? Why not a GUI toolkit like Qt or wxWidgets?
He wanted to make 2D graphics, so I suggested the SDL. He asked what a GUI was, so I decided to explain that as well.

If you don't want to bother with OS-specific drawing methods, I suggest the SDL for 2D programming:

I didn't mean using the SDL for a GUI. I meant literally what I said.
Alright, then.
Topic archived. No new replies allowed.