Also, cin.getline() and getline() are not the same. cin.getline() is for C ... In C++ to get input from stdin, cin is used. cin >> text; ...
確定! 回上一頁