I used to think that including header files gives me some extra function to use.
Like putting <stdlib.h> allows use of system("PAUSE") without doing anything special.
I disovered lately that it doesn't work that way with my own header files.
With main function in file A, extra functions in file B (both including header file C with declarations of functions in B) to use these functions in A I still need to link A and B - what raises the question: WHAT'S THE USE OF MY HEADER?
Help, please!
Like putting <stdlib.h> allows use of system("PAUSE") without doing anything special.
I disovered lately that it doesn't work that way with my own header files.
With main function in file A, extra functions in file B (both including header file C with declarations of functions in B) to use these functions in A I still need to link A and B - what raises the question: WHAT'S THE USE OF MY HEADER?
Help, please!
Comment