since you are using namespace std, you can use the following to easily take care of getting keypresses from the user:
system("pause");
It will automatically put in the text notifying the user a keypress is needed also.
As for the question you're asking - I dont see anything wrong so far except for the return 1 =/ Good Luck though
__________________
- Artsemis
~~~~~~~~~~~~~~~~~~~~
There are two keys to being the best:
1.) Never tell everything you know
|