SimEvent subclass MUST be in *.cc : why?
by Steven Peterson · in Technical Issues · 02/08/2006 (7:52 am) · 1 replies
After a little bit of reading on the subject, I added a simEvent to my program (below). I initially posted both code snippits in myClass.h, and they resulted in the following 4 compiler errors (ms-vc6).
The fix was to move the simEvent subclass AND the simBase.h include to myClass.cc. Could someone please explain why?
Thanks,
RavenSlay3r
Mod Note: Code isn't allowed in public forums. Please post the question in a private forum area.
The fix was to move the simEvent subclass AND the simBase.h include to myClass.cc. Could someone please explain why?
Thanks,
RavenSlay3r
Mod Note: Code isn't allowed in public forums. Please post the question in a private forum area.
Torque Owner Kirchgessner
Prosimian Productions