im confused...

Sep 12, 2009 at 11:50pm
ive been programming in the command prompt, but i was wondering how do you program with graphics and stuff like that.
Sep 13, 2009 at 12:35am
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.



Sep 13, 2009 at 2:03am
Using mfc C++ programing is good to.
Sep 13, 2009 at 4:13am
how do you use gui's? ive tried i couldnt figure it out...
Sep 13, 2009 at 4:18am
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 Sep 13, 2009 at 4:21am
Sep 13, 2009 at 4:46am
Uh... Are you suggesting a 2D graphics library for GUI programming? Why not a GUI toolkit like Qt or wxWidgets?
Sep 13, 2009 at 5:32am
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.
Sep 13, 2009 at 5:34am
Alright, then.
Topic archived. No new replies allowed.