stange cout
Answered
cout << "INSERISCI STRING1: ";
cin >> string1;
cout <<"INSERISCI STRING2: ";
cin >> string2;
if i write in this way the output is
inserisci strin1:""
inserisci string2:"
why clion put the space in the new line and not in the current line as i write?
Please sign in to leave a comment.
By chance are you using mingw on Windows? If so, there are a handful of bugs related to this. I'm not sure what the authoritative bug tracking the issue is, but one such is https://youtrack.jetbrains.com/issue/CPP-17579
There is a work around listed on that bug.
Yes, https://youtrack.jetbrains.com/issue/CPP-17579 is the correct issue to follow.