读文件流ifstream 类对象有函数是读取一个字符的吗[解决办法]
char ch; ifstream fin( "temp.txt" ); while( fin.get(ch) ) cout << ch; fin.close();