View Full Version : Command for Reading Input from the keyboard
parulkalra14
17th January 2014, 07:42
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.
anda_skoa
17th January 2014, 09:11
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,
_
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.