Hi...
I want to get the input from the user, without making him to press 'ENTER' key. I could achieve this in c language, by using getch() function. But, this doesn't hold good for c++.
Please help me...
And this is because input is sent to the program (your program) from the operating system, which by default (linux/windows) is set to only forward said input on recieving the '\n' character at the shell/command line level.
Doing what you want to do is possible, but requires telling the OS to change its behavior a bit.