摘要: 为了兼容c语言的输入输出,c++里面采用tie将输入输出流经行绑定,所以cin/cout并不是独立的。当执行cin时,cout同时会被执行。反之亦然。 by defalut,cin is tied to cout,and wcin is tied to wcout。 默认情况下,cin和cout是绑 阅读全文
posted @ 2017-01-08 14:48 张安源 阅读(836) 评论(0) 推荐(0) 编辑