Originally posted by: HiME
I have multiple classes, shouldn't it make sense for me to separate them for management purposes? I usually have the source file storing just the main function.
Originally posted by: iCyborg
The usual way is to have multiple source files, e.g. program.cpp has the main() and uses class X included from X.h and implemented in X.cpp.
Originally posted by: HiME
I understand why to separate the functions from a .h to a .cpp file. Just curious, if I don't declare inline on my functions there won't be any paste in effects right?
And I just found out the syntax to setup the breakpoints on a .h file.
b CLASSNAME.h:LINE_NUMBER
Originally posted by: HiME
I understand why to separate the functions from a .h to a .cpp file. Just curious, if I don't declare inline on my functions there won't be any paste in effects right?
And I just found out the syntax to setup the breakpoints on a .h file.
b CLASSNAME.h:LINE_NUMBER