Archived

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

neurokaotix

Weird problem with class using all inline functions :(

Recommended Posts

neurokaotix    100
*PROBLEM SOLVED* mCMD.h included mCMDProto.h and mCMDProto.h included mCMD.h ;D Thanks though [edited by - neurokaotix on May 28, 2003 12:38:48 AM]

Share this post


Link to post
Share on other sites
Peon    276
Maybe you are creating an instance of the object, without specifying any parameters. You don't seem to have a default constructor specified, so if you did:

mCmd MyCmd;

... it might generate an error like you see above. Check to find out where you create the instance of your object. I've never seen those pointer errors, but perhaps they're related. It also might be because I use VC++6... what compiler are you using?

EDIT: Looking at it again... maybve your #includes are messed up (it mentions the use of an undefined type..)

Peon

[edited by - Peon on May 28, 2003 12:39:17 AM]

Share this post


Link to post
Share on other sites