Why we use header files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why we use header files

26th Dec 2017, 3:53 AM
Puneet Bhardwaj
Puneet Bhardwaj - avatar
3 Answers
+ 5
to describe about the data packets what size what type encoding scheme encryption standards identifier to arrange packets at destination routing details in circuit switched networks oops I described something else 😅 studying web dev that's y , I guess here's the one ur looking for those are already written c programs called libraries which you need to use to write your codes for example , a normal printf instruction is many lines long actually , but it's only one line for u coz u use stdio
26th Dec 2017, 4:04 AM
Morpheus
Morpheus - avatar
+ 3
@gordie 👌, thx for appropriate answer
26th Dec 2017, 7:17 AM
Morpheus
Morpheus - avatar
- 1
in addition, using headers organize your code, but the down side of it, it's make compilation slower.
26th Dec 2017, 8:40 AM
Cain Eviatar
Cain Eviatar - avatar