Hey guys...i had an assignment i did last year and i had a problem linking the my files since the program was modularized..the lecturer accepted it with the errors since she also failed to figure it out..anyway i was scrolling through my work and today and i saw the code then i remembered its solution is still a mystery.if there is anyone who would want to look at the whole program and see the problem it'll be great..i cant post it all cuz its modularized and it'll be really long and unpleasant to read..so if anyone wants to check it and give it a try then you can let me know so that i can attach it or something...by the way the code works well when it is not modularized. .this is not an urgent matter and neither is it homework so if anyone has the time to want to check it out they can let me know..thanks
Recommended Answers
Jump to Postzip the project up and attach it to a post. Don't include any object files or other files that are generated by the compiler. And it would be nice to know what operating system and compiler you tried to compile/link with.
Jump to PostThat zip does not include everything needed to compile and link the program. I need ALL the source files including all the *.c and *.h files in the project.
Jump to Postcheck the zip file again -- it only contains 3ds.c and 3ds.h. There is no main() function in that *.c file. You said there are multiple files -- so where are they ?
Jump to PostYou are right -- I re-downloaded your zip and it contained the files you mentioned. Using VC++ 2008 Express I created a new empty project and added the files in your zip to it. I get millions (?) of errors.
Your program will not link with all those errors. …
Jump to PostFor example:
for(a=temp_value;a<7;i++)
found in CallCost.cpp. There are two things wrong with that line: 1) temp_value is a double and a is an integer, and 2) i++ is incrementing the wrong counter.
All 27 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.