I have to ask the user to enter a value which he could leave empty if he wishes to.
If I use cin, it is required that he enter something at least
getch() - when he uses backspace, the character is not deleted
getline - requires him to press enter twice
scanf - requires him to enter something at least
gets - sometimes the program skips the code.

could somebody help me out with this,
Shilpi