This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

In CCS5.3, how do I define a C++ class in a header file?



I am unable to define classes in .h header files in CCS5.3. 

I get the following error: "..\pincfg.h", line 4: error #20: identifier "class" is undefined

I am able to define and implement classes in a regulare .cpp file and it compiles just fine.