0
Hola. Saben como usar el Getline? hi. do you know how use Getline?
3 Antworten
+ 1
get line is a feature used for string input.
string myString;
getline(cin,myString);
+ 1
amruth, that won't compile. get line isn't a method of cin it's it's own function. it is used like this:
getline (cin,string);
0
using namespace std;
getline (cin, NombreVariableString);