Beginning programmers SHOULD NEVER include C or C++ files!!
Instead, learn how to make and use a header correctly and your error will likely go away.Code:#include "checkSum.c"
Tim S.
Beginning programmers SHOULD NEVER include C or C++ files!!
Instead, learn how to make and use a header correctly and your error will likely go away.Code:#include "checkSum.c"
Tim S.
Last edited by stahta01; 10-22-2012 at 06:43 PM.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
I really appreciate your feed back Tim, though some additional content might have been nice. Your right, I dont really know how to link c files. Do you have any examples of a header/main configuration or just a collection of linked c files?
The reason I gave the ourCheckSum function its own files was kind of odd: when I included the function in the RSTSender.c clang wanted a semicolon after the function name, before the brackets.