programming enviroment probs (GL)
5 replies to this topic
Members - Reputation: 122
Posted 16 June 2001 - 09:16 PM
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?
Members - Reputation: 134
Posted 17 June 2001 - 04:01 AM
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