where can i find out a detailed information about How to write a header file ?
Saleh
0
Newbie Poster
Recommended Answers
Jump to PostMy God I even had a comp science teacher ask me this.Arrrg one will go mad.
It's simple.Cut a few funtions out of you code and paste them in a file with a .h extension and call #include "your_header_name.h" to include that.
Note: not < > but " …
Jump to PostEven if you include main() in a header and dont declare main() in any other funtion the program will complie and work properly.Headers are just a way to organise code.
Jump to Postdid the computer science teacher ask you it on a test?
You bumped a 6-year-old thread for that????
All 9 Replies
Bleek
0
Light Poster
FireNet
64
Posting Whiz in Training
Fili
0
Light Poster
FireNet
64
Posting Whiz in Training
Fili
0
Light Poster
sadds
-1
Newbie Poster
jonsca
commented:
Ridiculous bump
-1
Aranarth
commented:
...
+0
Fbody
682
Posting Maven
Featured Poster
sdsda
-3
Newbie Poster
jonsca
commented:
bump back
-1
JCRARY
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.