• Advertisement
Sign in to follow this  

windows c++

This topic is 4330 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement