I have a char array buffer that I am using to store characters that the user will input one by one. My code below works but has a few glitches that I can\'t figure out:
You might also want to look into using a stringstream.
stringstream