• + 0 comments

    Thanks AdamsLT...worked like a charm..when mixing different input types like getline and cin in this case for reading a string from input stream..ignore the extra '\n'.