after getting the line use this code (i think) to ........ errrrrr...... im kind of a beginner too..... but something about clearing input buffers (i think)
if im wrong about the buffer thing someone who knows tell me pleaseCode:cin.ignore(80, '\n');