Class header file and code file

Where do you write the code of a class after declaring properties and methods (only declaring) in a header file? In a code file (.cpp) or in the same header file where you've written the skeleton?
whatever your preference is. personally i declare all methods and objects in my header then define them in a cpp file of the same name
> or in the same header file where you've written the skeleton?
In that case the methods should be inline, or you'll get `multiple definition' link errors
Topic archived. No new replies allowed.