[C] Libraries and headers
From: .:'DevarajA':. (no_at_spam.com)
Date: 07/25/04
- Previous message: Alwyn: "Re: IO-Operator overloading question"
- Next in thread: Alwyn: "Re: [C] Libraries and headers"
- Reply: Alwyn: "Re: [C] Libraries and headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Jul 2004 10:10:45 GMT
I'm learning C by myself, and I had some problems finding info about
libraries and h files. This is what I understood, please correct me if it's
wrong.
1) Libraries are files containing one or more object files which include the
compiled code of library functions such as printf, scanf, pow, etc...
2) Headers contain prototypes (can anyone explain me what are prototypes?)
of the functions present in the library. H files also contain global
variables declarations, templates, constants and macros.
3) The C file that should use one of the functions of the library must
include the h file coming with it.
- Previous message: Alwyn: "Re: IO-Operator overloading question"
- Next in thread: Alwyn: "Re: [C] Libraries and headers"
- Reply: Alwyn: "Re: [C] Libraries and headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|