|
-
February 17th, 2011, 09:56 AM
#3
Re: Try Catch Question
Your main signature is wrong. It should be:
Code:
int main(int argc, char** argv)
Don't use system("pause"), seePause Before Exiting a Console Application
Use code tags to post code.
So check the length of user input, read the user input as a string. Then you can count the number of characters and convert it to an int.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|