I m Just begin to write my first program in c++ and I have problem
string StringVar;
cin >> StringVar;
getline(cin, StringVar,'\n');
cout << "You entered" << StringVar;
when I write this sample code and run it
for example if i entered her name is sofia
the first word will not appear to me in cout
what will appear name is sofia without the word her
help me please