Advertisement

Problems with Tutorial 6 (function free())

Started by March 28, 2002 04:33 PM
1 comment, last by Pegu 22 years, 11 months ago
Hello. I''m quite a newbie in OpenGL, so don''t flame me for this, okay ? I''m using Dev-C++ (MinGW) and I have managed to compile all previous tutorials without any trouble. But in this tutorial, everything else seems to work perfectly, but Dev-C++ tells me that: 76 test.cpp implicit declaration of function `int free(...)'' When I try to comment out that line, it yells the same thing, but on line 78. (Lines may differ in NeHes code, but you''ll get the idea). I commented them both out, and a beatuiful cube appeared. That isn''t enough for me I would like to know what has caused this problem so I can learn from it. The code is exactly same as NeHes code (I even downloaded it to check if it would work). I''m getting quite tired with this problem, and would appreciate any help (the clock is 0:25 in Finland now...) Thanks.
Include the file stdlib.h.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Advertisement
quote:
Original post by Martee
Include the file stdlib.h.


Thanks, is should''ve tried to include some other files
Thanks for help.

This topic is closed to new replies.

Advertisement