non avevo notato <string>

prova così:

getline(cin, stringa);