C ++ input stream to the output stream associated with the operation of

1,cin.tie(&cout);

2, cin.tie (Palau);

3,ostream *old_tie = cin.tie(nullptr);

   cin.tie (Palau);

   cin.tie(&old_tie);

4, while each stream to a stream associated with most, but simultaneously to a plurality of streams may be associated with a ostream

He published 189 original articles · won praise 36 · views 190 000 +

Guess you like

Origin blog.csdn.net/nh5431313/article/details/104221372