I use MSVC++ and programmed a little applet with c++, but the VC++ somehow lost half of the program so I had to reinstall, and then add the glut32.dll, glut32.lib and glut.h. So far so good, but know I can''t compile this line:
bool ballfly = true;
I have to change it to:
GLboolean ballfly = 1;
Why? OpenGL is only an Api and not a complete programming language, so I should be able to use normal C++ or not?
Sorry, on an older version of MSVC that I had you could change an option in the project settings that would compile everything as C or C++ regardless of the extension, but it does not appear to be there in version 6. Or I can''t find it. lol