cin with strings #include #include using namespace std; int main () { string mystr; cout << "What's your name? "; getline (cin, mystr); cout << "Hello ...
確定! 回上一頁