When someone goes to put in their name I get an error, for example if they just put in "John" and then hit enter everything acts fine, but if they put a first and last name for example "John Doe" the outputs gets really nasty.
You may be having an issue because variable name is a char type. Try using string instead (make sure to include #include <string>). Also use a getline statement to grab the first and last name because as jlillie said cin only reads until a whitespace.
It worked! Thanks alot! I am cramming hard for this C++ Exam tomorrow and I need a few more things. Could you help me out more? If so, do you have a better way I can contact you, do you have access to mIRC?