what is the best way to take a string from a user and print it in the next line?
@somesh.ps You can simply do: string s; cin >> s; cout << endl << s; (endl is for the next line)