Archived

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

rtpHarry

nehe oop basecode error

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
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