Validating input in c who is jamie foxx dating right now
From my experience with teaching C (and several other languages), I predict that your biggest problem here will be with the use of pointers in the ¬_integer syntax.
Everyone, including myself, has to think quite a bit about how pointers work before they get it.
Not only does figuring out and articulating the result you get make it much easier for people on stackoverflow to help you, but it also helps you developer your analytical skills.
I said that because I wasnt sure how to describe it but basically it just repeats over and over in an endless loop.
You can read a character string from the user with scanf, then convert it to an integer with strtol.
For example, try the following program: Test it with 123, then with 123abc.
I thought this would do it but when I put in a letter it repeats in an endless loop.