C/C++ on Linux/Unix

Moderators: Lundin
Number of threads: 310
Number of posts: 627

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Aggregate error Posted by ies on 25 Feb 2011 at 1:06 AM
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.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.