首页
编程
java
php
前端
首页
编程
java
php
前端
如何不用递归法,将一个整数转换成字符串
这是用了递归的
包含头文件stdlib.h,
调用函数itoa,
int
a=
1234
;
char
str
[
4
]; itoa(a,
str
,
10
);
点击展开全文