C++ header file -
possible duplicate:
in c++ why have header files , cpp files?
why in c++ there .h , .cpp , not 1 file c# , java ?
for historical reasons. specifically, compatibility c. language designed run on (for 70s standards) low-end machines; header files (and still are) substituted inline separate program, keep memory use of compiler down. still helps keep libraries small.
Comments
Post a Comment