help, i've spent many a desperate compile trying to tweak this code to get it to run but can't get it to work. The code looks like this:
the purpose of the code is to pull in whatever the user types one character at a time and when they hit enter to process it. The problem is that when I try it and i hit enter it just moves the cursor down one line and waits.Code:char letter; while(cin) { cin>>letter; // do some stuff }