Aggregate error

Hello Everyone,

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.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!