cpp的const istream &a与 ostream


这样是错的因为&相当于是隐式指针,但是const是不不能改变其值的东西,当键盘输入,值保存在istream的对象中,应该是输入流变了
自己还没学i/o 大概是这样的东西

C++