Possible Duplicate:
In C++ why have header files and cpp files?
C++ - What should go into an .h file?
All the functions/methods which are usually defined in .cpp file can be defined inline in .h file. So what is the reason for using .cpp at all? Effectivity? Compilation time?
Are there some standards as what can be kept in .h and what should go to .cpp?
Thank you.