I want to define a class in a .h file then actually write out all the methods in a .cpp file

my question is... how does one exactly do it

in your main program do u include the .h
then in the .h you include the .cpp

thanks

ps if anyone has any dope links that goes in depth about it, that'd be great. i tried looking up on google, but all i got were the default header files in c/c++