"return" makes the program exit out of the function it is currently running. Main is a function so it can exit out of that.
I found a couple errors in your code so try this instead. I hope this helps for I haven't actually made a header myself before so this is all I can help you in.
Well what the heck! Never did ANY of my online tutorials for any language tell me that's what "return;" does.
P.S. I think putting the #include <iostream> and <string> in both violates the rule of only one #include per program or something
Thanx, I'll try that...