MongoDB / cpp
Difference between header file (.h) and cpp file (.cpp).
Header files (.h) provide information that will be required in multiple files or in a module. Class declarations, function prototypes and enumerations typically go in header files.
Code files (.cpp) contains the implementation that only needs to be known in one file. Function bodies and internal variables are implmented in .cpp files.
More Related questions...