- #1
darkchild
- 155
- 0
I have a class that I've split over a header file (class declaration), and a .cpp file (member function definitions). Building the entire project results in various errors that say that the class has not been declared.
I've put in the include directive for the header file. Both files are definitely a part of the same project. I'm using the scope resolution operator with the class name for the member function definitions in the .cpp file. I have the same issue whether I use Dev-C++ or Visual Studios. I have no idea what the problem could be.
I've put in the include directive for the header file. Both files are definitely a part of the same project. I'm using the scope resolution operator with the class name for the member function definitions in the .cpp file. I have the same issue whether I use Dev-C++ or Visual Studios. I have no idea what the problem could be.