while (cin.eof() != true) //cin.eof判断是否到达文件EOF,如果读取到EOF return true,读取到EOF则无法再次输入
while (cin.fail() == true)
while (ch != EOF)
EOF ASCII 字符编码
转换成int
unsigned signed int;
while (cin.eof() != true) //cin.eof判断是否到达文件EOF,如果读取到EOF return true,读取到EOF则无法再次输入
while (cin.fail() == true)
while (ch != EOF)
EOF ASCII 字符编码
转换成int
unsigned signed int;