读一串含空格字符

CODE:

	cin.ignore(1000, '\n');
	string s;
	getline(cin, s);

猜你喜欢

转载自blog.csdn.net/qq_31741481/article/details/84983573