The screen is closing before you can see the output, run in a command line window or figure out how to put a key capture at the end (like getch() or _getch())
*bump*
I was right? I see system("pause");
I think I've seen this problem/solution nearly 50 times.
isn't getch only in C?
didn't know C++ has the command
gonna flip thru my book