Код: Выделить всё
#include
using namespace std;
int main() {
string userIn;
bool on = true;
while(on == 1) {
cout > userIn;
if(userIn == "quit") {
on = false;
}
}
return 0;
}
Я ожидал, что он выведет ">>" вместо ">> >>"
Подробнее здесь: https://stackoverflow.com/questions/790 ... paces-in-c