2009年5月9日 - 方法一. C/C++ code. try { StrToInt(Edit1->Text); } catch(EConvertError &e) { ShowMessage("非整数!"); }. 方法二. 如输入的字串附给了String类型的 ...
blog.sina.com.cn