cout << "This is to cout" << endl; cerr << "This is to cerr " << endl;
$ output $ output > foo $ output 2> bar $ output 1> foo 2> bar