char ch;
cin>>ch;
1, while ( cin.get(ch) )
2,while( ch != EOF )
3, while( cin.fall() == false )
4, while( (ch = cin.get()) != EOF)
5, while( !cin )
时间: 2024-10-29 10:55:37
char ch;
cin>>ch;
1, while ( cin.get(ch) )
2,while( ch != EOF )
3, while( cin.fall() == false )
4, while( (ch = cin.get()) != EOF)
5, while( !cin )