itoa()是一个非常方便的函数,可以将数字转换为字符串.Linux似乎没有itoa(),是否有相同的功能或我必须使用sprintf(str, "%d", num)?
itoa()
sprintf(str, "%d", num)
c linux
c ×1
linux ×1