This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C++ definitioins in header file

I am trying to use a class in Keil for Arm, but when I define my class in the Header the compiler complains that "class" is not known.

If I move the class definition to the *.cpp file, then the compiler seems to be happy. However, now I have no way to use this class in another module because the class definition is not in the header.

What is it that I need to do to resolve this issue?

0