Is there such a function in C?
Is there such a function in C?
Not under that name.. not that I know of anyway. But you can do some work arounds, most of which are discussed on here almost daily.
Try a board search for
fgets
scanf
validate (Prelude's function to ensure a string it actually a number)
There's quite a few threads dedicated to this subject.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]