Aha! I found what I needed to do. I put

Code:
system("PAUSE");
at the end of a line and that worked.

Now the other problem.

It says "this is a testPress any key to continue"

I want it to be... more organized. Like say:

this is a test

Press any key to continue.