It will work. Not quite. The syntax in slightly different when using getline() with std::strings: string str; getline (cin,str);.
確定! 回上一頁