sprintf()函数,把数字转换成字符串

    char str_2[10];     int a=1234321;     sprintf(str_2,"%d",a);

原文地址:https://www.cnblogs.com/fantiejun/p/3464894.html