Oh ok. I see what you're saying now. That seems like a much, much easier way than parsing and converting a string. Thank you.
Type: Posts; User: CrunchyMarvin
Oh ok. I see what you're saying now. That seems like a much, much easier way than parsing and converting a string. Thank you.
I don't understand what you're saying. My plan is to use scanf("%s", &string[]); how could I use that to see if it's a single integer?
Thank you for the quick reply! I'll read through that link.
I would like to take in an input from the user that's supposed to be a number. I want to validate the input, and if it's not a number prompt the user to try again. If it is a number, I want to...