在C语言中,lota(m,a,n)这个函数,其中m,n为实数,a为一个数组,这个函数是做什么用的啊?
来源:百度知道 编辑:UC知道 时间:2024/05/14 11:30:01
谢谢啦~
这个函数八成是自己定义的,在代码中好好找找
把长整数转换为字符串
#include <stdio.h>
#include <stdlib.h>
main()
{
char a[255];long m=87654321;int n=16;
ltoa(m,a,n);
printf(a);
}
把87654321转换为16进制,输出5397fb1