You are viewing a single comment's thread. Return to all comments →
Can someone explain what this line does?:
cin >> curInput;
It is reading input from a variable curInput. cin is the keyword of reading inputs in c++. >> is the operator to read values.
Similarly cout<< curInput prints the output.