Click here to Skip to main content
15,886,110 members
Articles / Programming Languages / C

C/C++ Headers and Source Files: How Do They Work?

Rate me:
Please Sign up or sign in to vote.
5.00/5 (17 votes)
3 Sep 2022Public Domain6 min read 29.8K   16  
Understand the difference between headers and source files, what they do, and how they work together.
This article will show you the ropes in terms of dividing your program into its component parts in C or C++ properly using headers and source files.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions