windows c++

Started by
5 comments, last by Fruny 18 years ago
is it nessacary to learn to program windows (winmain and all that...) to learn opengl, and if it is, will i be able to with dev c++. thanks.
Advertisement
It might be easier to get used to sending messages to the opengl window, but it's not absolutely required in order to learn opengl. If you read through opengl documents well enough, you will see the connection between win32 and opengl(slightly similar), but either way, you will have a better understanding of the library you decide to use second, since they are both using windows and messages and all that.
Hello?
Any Windows program that runs in a standard window will require some Win32 API code. At the very least, you'll need to register a window class, display the window, and enter a message loop that responds to WM_QUIT. The rest can be left up to OpenGL and whatever API you choose for input and sound.
------------------------------Support the Blue Skies in Games Campaign!A blog... of sorts.As a general rule, if you don't have a general rule in your signature, you aren't as awesome as someone who does. General rules roxor teh big one one ones.
so, can i learn to program windoes with dev cpp. do you know any good tutorials
Try going through these tutorials. If you encounter problems remember that msdn is your biggest friend!
Quote:Original post by shred master
is it nessacary to learn to program windows (winmain and all that...) to learn opengl


No it isn't (SDL).
Quote:Original post by shred master
is it nessacary to learn to program windows (winmain and all that...) to learn opengl


No it isn't (FreeGLUT).
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement