阅读背景:

如何判断一个字符串是否是c++的数字?

来源:互联网 

I've had quite a bit of trouble trying to write a function that checks if a string is a number. For a game I am writing I just need to check if a line from the file I am reading is a number or not (I will know if it is a parameter this way). I wrote the below function which I believe was working smoothly (or I accidentally edited to stop it or I'm schizophrenic or Windows is schizophrenic):I've had quite a bit of trouble trying to write




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: