Is there such a function in C?
Printable View
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.