Hello
I am using CCS5.5 with C2000 compiler.I created new class into project with classname .cpp file and .h files added.
in main.c file I have (simple cpp code) :
#include"Sample.h"
int main(void) {
Sample SampleObj;
SampleObj.SampleTest();
return 0;
}
I get following errors.
#20 identifier "class" is undefined Sample.h /TestCode line 21 C/C++ Problem
#20 identifier "SampleObj" is undefined main.c /TestCode line 9 C/C++ Problem
I am wondering why I am getting these errors.Please help
CCSNewbee