• Advertisement

Archived

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

nehe oop basecode error

This topic is 5020 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I downloaded the nehe oop basecode, and its been updated since i last put it in a project, however it doesnt appear to work any more, with the code trying to assign values in illegal places. Is it a compiler setting i have to change or is this code not useable in vc6? Im talking about this one; http://nehe.gamedev.net/counter.asp?file=files/basecode/nehegl_oop.zip Unfortunately the guy who wrote it put his name everywhere and his contact details nowhere

Share this post


Link to post
Share on other sites
Advertisement
yeah so i mainly solved this by just removing the dodgy statements, it was trying to initialise a constant in the class prototype, and strict compiler rules mean you have to initialise it as a global variable using the namespace of your class.

Share this post


Link to post
Share on other sites

  • Advertisement