So you're telling me that calling getch() in a loop to build up a string, one character at a time doesn't work?
I am sorry,I'm a beginner in C++ so I don't know much.. But could you tell me how to do it???
But then what is the difference between getch() and getchar()? Because even getchar is used to input one character at a time.