anonymous_user_27419525
Fri, 17 Jun 2016 15:37:13 +0000
C++

Is it possible read STDIN using UE classes?
Like this, but with UE classes.

#include <iostream>
#include <string>
using namespace std;

int main() {
    while (1) { // each tick
        if (cin) {
            string inputLine;
            getline(cin, inputLine);
            cout << inputLine << endl;
        }
    }
    return 0;
}

1 post - 1 participant