Thank you very much for the examples Cogman, they really help out. I appreciate all the help you guys have given me.
I don't want to wait to ask questions, and realize in the future this is something i don't want to do.
I am looking for a good book to start off learning c++ for a beginner...