I am learning C++. When trying to solve a problem using other classes aside from the main class of my program, I encountered an error I do not quite understand.
Here is the error:
MainClass.cpp:6: error: aggregate ExerciseSix obj has incomplete type and cannot be defined
Please help. What does that mean? What must I do?
Thanks a lot.
0 · ·