The Mysteries of Header Files
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 12466
Total Votes: 139 votes
Category: C and C++/General Development
Submitted on: 2008-04-16 02:28:52
Submitted By: Shekhar
Description:A header file is any file that ends with the .h extension and contains C declarations and macro definitions that are going to be shared between several source files. A header file’s most common use is to store functions and declarations that are used often and in different source files. You don’t want to continuously write out the same function declaration 50 times. But how do you use header files? How do you create your own? Those are great questions and I’ll answer both. More detail...