Link to home
Start Free TrialLog in
Avatar of XK8ER
XK8ERFlag for United States of America

asked on

c++ small function

hello,
I converted this small function from c# into c++ but it says
"missing_class_definition" what is it that im supposed to have there?

//.h file code:

public:
	bool MyComp();

//.cpp file code:

bool <missing_class_definition>::MyComp()
{
	if (TheCompHD == L"6YD01ZH5" | TheCompHD == L"5L0BX10HB0")
		return true;
	else
		return false;
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

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