fqman
Results
3
comments of
fqman
if (base > INT_MAX / 10 || (base == INT_MAX / 10 && str[i] - '0' > 7)) 这一步因为INT_MIN是-2147483648 ,INT_MAX是2147483647 所以str[i] - '0' > 7在sign=-1的时候应该是str[i] - '0' > 8吧
绝了,脑子没转过来弯。谢谢你,没想到能这么快收到回复
tcpserver是不是只会在一个loop里面,所以是线程安全的