Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 14779
Total Votes: 149 votes
Average Rating: 2.82 out of 5
Category: C and C++/General Development
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.