0

I would like to read 2 strings from terminal, but my code is not working. I have two cout and getline. My Goal is: Read Two strings with spaces

MyCode:

cout << "Description  " << endl;
getline (cin,VarGros);

cout << "Description1:  " << endl;
getline(cin, VarBeschr);

If I run this Code, They print

Description
Description1  ((User Input))
churill
  • 9,299
  • 3
  • 13
  • 23
Mr. Conte
  • 9
  • 1

0 Answers0