"mark" <anthonymor...@...> wrote: > > what should be placed inside these files? > > i had written some code and saved it it in .h and written > no more extra .cpp class except for main cpp file(counter > to what a book said "write definitions to a .cpp file") > > am i breaking any rules here?
Inline function definitions are encouraged in headers. -- Peter
