A beginner question I saw code that was use the input() function but there was no implementation or defined or macro my question Is there a function that c already implement that her name is input and what does it do? And is there a parallel function to it? Thanks for the help.
Asked
Active
Viewed 65 times
0
-
1No, there is no `input()` function unless you write it. However `input()` is commonly used as a placeholder to show where input would be taken. – David C. Rankin Nov 12 '17 at 20:04
-
I'm not ware of any `input()`-function. Functions to read in values are `scanf`, `fgets`, ... – Stephan Lechner Nov 12 '17 at 20:04
-
thanks i saw now that he used lex and in lex input() is equivalent to getchar(). – Nov 12 '17 at 20:11