Unimatrix_001
asked on
uses undefined class???
I've got:
/////////CPair.cpp:
class CPair{
//stuff here...
}
//CPair::methods...
////////Main.cpp:
void someMethod(){
CPair pair;
}
but it's complaining that the CPair class is undefined?!?!?! How can I get around this??? Maybe some header file? :S
/////////CPair.cpp:
class CPair{
//stuff here...
}
//CPair::methods...
////////Main.cpp:
void someMethod(){
CPair pair;
}
but it's complaining that the CPair class is undefined?!?!?! How can I get around this??? Maybe some header file? :S
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you :) ...
http://www.cs.wisc.edu/~hasti/cs368/course/examples/sepCompilation.html
http://www.drpaulcarter.com/cs/module.php
the above links should be helpful