I was wondering how to use cin so that if the user does not enter in any value and just pushes ENTER that cin will recognize this as valid
cin
ENTER
Try unbuffering cin (it's buffered by default).