Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Portability of ANCI C/C++ and GLUT OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2003
    Location
    eindhoven, the netherlands
    Posts
    23

    Portability of ANCI C/C++ and GLUT OpenGL

    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

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: Portability of ANCI C/C++ and GLUT OpenGL

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •