Ok, I new to this and haven't been taught exception handling yet but I would like my program to run without crashing when someone mashes the keyboard. I have declared an int x, and I don't want my program to crash when user inputs an char or more than 10 digits... what should I do?
rugae 0 Light Poster
John A 1,896 Vampirical Lurker Team Colleague
rugae 0 Light Poster
John A 1,896 Vampirical Lurker Team Colleague
rugae 0 Light Poster
John A 1,896 Vampirical Lurker Team Colleague
rugae 0 Light Poster
rugae 0 Light Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
ad_rulz 3 Newbie Poster
John A 1,896 Vampirical Lurker Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.