2012年9月13日 - 方法2)用字符串方式讀入,如果含點號,或含E,或含e,則不是整數。 (方法3)用浮點數讀入,如果下面條件成立,則是整數。 float a; if ( (float) ((int) a) ...
tc.wangchao.net.cn