c++中的isdigit()函数和stoi()函数

xiaoxiao2021-02-28  29

isdigit()函数只能判断char型是否为一个数字。

stoi()函数是将string型转换成int型。

转载请注明原文地址: https://www.6miu.com/read-2626122.html

最新回复(0)