Archived

This topic is now archived and is closed to further replies.

spaceleader

frustration and confusion.........

Recommended Posts

Well, i a newbie and i DID went through the Nehe tutorial up TILL the part with the texture comes in......everytime i compile a code with anything that says free (something something) i get a compile error that is an impliceted declaration or something....i tried download different version of the source for like MSVC++ and BORLAND and GLUT and they all comes out to the same compiler error, btw im using Dev C++ 4. 2 poor for MSVC++............can someone please!!!!!!! help me out here. i''m stuck at tut # 7! or is it 6? AHHH I DONT KNOW!!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you use malloc() to allocate the memory DO NOT use delete to free the memory. If you allocate with malloc() free with free(), if you allocate with new, then free with delete. First make sure that you''re including the correct header file, then

Share this post


Link to post
Share on other sites