Link to home
Start Free TrialLog in
Avatar of Unimatrix_001
Unimatrix_001Flag for United Kingdom of Great Britain and Northern Ireland

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
ASKER CERTIFIED SOLUTION
Avatar of avizit
avizit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Unimatrix_001

ASKER

Thank you :) ...