Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/09 09:50
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#161715 - Should already be in a header file
Responding to: ???'s previous message
It is important that the C files that forms the contents of your library is including the same header file that you will use in other projects.

That is the only way that the compiler can catch errors in the header file, i.e. if the header file claims one data type for a variable, while the actual C file makes use of a different data type.

Everything is about strict book keeping, and letting the compiler double-check everything for you.

List of 10 messages in thread
TopicAuthorDate
How to use Libraries, are prototypes reqd?            01/01/70 00:00      
   lib + header file(s) goes hand-in-hand            01/01/70 00:00      
      put prototypes in header?            01/01/70 00:00      
         Should already be in a header file            01/01/70 00:00      
      Not exactly            01/01/70 00:00      
   Oh yes you do!            01/01/70 00:00      
      Why do warnings come?            01/01/70 00:00      
         Normally many small source files            01/01/70 00:00      
         so the solution is...            01/01/70 00:00      
            most likely            01/01/70 00:00      

Back to Subject List