Can anyone tell what is the command for reading input from the keyboard instead of reading the command input from a file. I am aware of the command:=
0< FILENAME is used to accept input from a file.
Can anyone tell what is the command for reading input from the keyboard instead of reading the command input from a file. I am aware of the command:=
0< FILENAME is used to accept input from a file.
That is called the standard input or stdin for the program.
It is usually available through several low level handles: a file descriptor STDIN_FILENO, a FILE* handle stdin and the C++ istream std::cin
Cheers,
_
Bookmarks