..but I don't quite understand the purpose behind it. I often see, when people give advice, a direction to prototype functions in somefile.h and then put the actual functions in somefile.cpp. I'm just wondering what the purpose of this is - Wouldn't the code compile fine if it's all packed in the header file, or am I missing something?



LinkBack URL
About LinkBacks




CornedBee