How do i mix c++ and opengl?

Hi,

im new to opengl,

I have this programme i made in c++ for a dos window,

i want to put this into an opengl window,

how do i do this ?

thanks for any info!

Good OpenGL beginner tutorials at http://nehe.gamedev.net

“i want to put this into an opengl window”,i don’t understand this ,putting a dos window into opengl does not make any sense.

Ur question is a bit unclear.

I guess, u r talking about graphics for a DOS window which u want to do in an opengGL window. In that case, u must be using the graphics.h header for dos. It simply won’t work in VC++ and besides, graphics with OGL is different.

Besides nehe, try out www.gametutorials.com