|
-
June 12th, 2012, 02:30 PM
#5
Re: What is wrong with my code organization?
I have 2 .cpp files now. Objects.cpp is for defining extern global objects declared in Objects.h this didn't cause any more compiler errors, and I can see how this is good for organization, but the globabl objects are still not recognized in image.h,
I have 10 .h files and 2 .cpp files, and 100+ compiler errors resulting from failure to recognize these global objects...... Like I said, one minute it was compiling fine then as the project got larger it just stopped recognizing them in some files but not others
errors are all of this form:
Code:
error C2065: 'Square' undeclared identifier
error C2228: left of '.member' must have class/struct/union
etc. etc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|