How to play/test program

I am new to Visual C++, and I just wrote my first code, but I don't know how to play or test it.
By pressing F5
Thanks. I'll try that.
Topic archived. No new replies allowed.