couldn't find the other way out for getting characters entered
from the user as one can do with getch() under turbo c++ compiler.
couldn't find the other way out for getting characters entered
from the user as one can do with getch() under turbo c++ compiler.
g++ follows the standard, so unless you want to import a console I/O library from elsewhere, you're limited to iostream and cstdio
thanks man! but can u tell me where will I get such library?
The library will be OS specific.
What OS are you using?
gg
linux(red hat 9)
Look for the ncurses library for linux.
Chances you already have it installed. Try doing a man or info on curses or ncurses. You may have to add the .h extension to the man search (not currently at *nix box at the moment to confirm).