C++ - Reading from Console without Echo.
-
Dear C++ Gurus, I need to read a string from console without echo. I need to use C++ not C. In C there are functions, but couldn't find a similer in C++. Please help. Regards, Jijo.
________________________________ Yesterday is history, Tomorrow is a mystery, But today is a present.
-
Dear C++ Gurus, I need to read a string from console without echo. I need to use C++ not C. In C there are functions, but couldn't find a similer in C++. Please help. Regards, Jijo.
________________________________ Yesterday is history, Tomorrow is a mystery, But today is a present.
Jijoraj wrote:
...read a string from console without echo.
What exactly does this mean?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
Jijoraj wrote:
...read a string from console without echo.
What exactly does this mean?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
I assume when keys are pressed he wants to read them in and process them without them being displayed on the screen.
Steve
-
I assume when keys are pressed he wants to read them in and process them without them being displayed on the screen.
Steve
If that is so, then
getch()
is a possibility.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb