istream
#include<iostresam> istream& fun(istream& he,int &num)
{
he>>num;
cout<<endl;
}
int main()
{
int num;
cout<<"Enter somes charector:"<<endl;
fun(he,num);
cout<<num;
cin.get();
cin.get();
}
我是乱写的.其实我是想知道istream的运用,谁能帮我改一下上面的那个例子,或者举一个有点说服力的相似例子说明istream的运用...谢谢先


