Ok, well now each time a user enters a character other than what is accepted by int, it terminates the program. So how would I go about fixing this one? I can't change the variable type because it is...
Type: Posts; User: remixx540
Ok, well now each time a user enters a character other than what is accepted by int, it terminates the program. So how would I go about fixing this one? I can't change the variable type because it is...
Is there a way to specify the type of input a user can enter...
for example, I would like to have the user only allowed to enter a number from 0-9, and it wouldn't allow him to enter letters or...
ok great, I was trying to add the value at the same time I created it. Thanks
Hey everyone... fairly new at this C++, just started a few days ago. I was wondering how to set the value of a variable, without having a user input it first. I'm sure the answer is simple, but like...