PDA

View Full Version : Portability of ANCI C/C++ and GLUT OpenGL



D1G1T4LL
12-06-2003, 10:06 PM
Hello to everybody who reads this.

Since a while I found out that the ANSI C++ I learned is also usable in combination with GLUT and the GNU C compiler. Before that I used the borland C++ compiler for dos, and without GLUT. Now it seems to me that the code I wrote before, can also be compiled in the borland C++ compiler and other ANCI compliant compilers. Is there anybody who has done this and who can explain me more about it.

greetings from the Netherlands and thanks allready, D1G1T4LL

mikael_aronsson
12-20-2003, 12:30 AM
Hi !

Not sure what you mean here, the hole idea with C/C++ is that it should be following a "standard" to make it work on many platforms, C does this very good C++ works to some extent, well written C code compiles on a C++ compiler without problems as C++ is an extension to C.

Mikael