Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·