View Full Version : OpenGL and C++

09-10-2003, 01:10 AM
I would like to start a new project using OpenGL (my first use). And I would like this project to be written in C++.

Since, with some C API, I experienced some conflict between the memory model from the C API (malloc) and the memory model of C++ (new), I would like to know what about OpenGL in a C++ environment.

09-10-2003, 01:35 AM
Hi !

There is no problem, and there is none with C/C++ either as long as you don't try to use free on a C++ (new) object or delete on a malloc'd object.