代码搜索:stdlib

找到约 10,000 项符合「stdlib」的源代码

代码结果 10,000
www.eeworm.com/read/378183/9245224

dat funtc86b.dat

#include #include int main(void) { float f; char *str = "12345.67"; f = atof(str); printf("string = %s float = %f ", str, f); return 0; }
www.eeworm.com/read/378183/9245266

dat funtc87b.dat

#include #include int main(void) { int n; char *str ="12345.67"; n = atoi(str); printf("string = %s integer = %d ", str, n); return 0; }
www.eeworm.com/read/378183/9245427

dat funtc208.dat

函数名称: itoa 函数原型: char *itoa(int value, char *string, int radix) 函数功能: 将整形数value转换为其等价的字符串 函数返回: 指向string的指针 函数说明: value 要转化的数值,radix 转换的进制,如10表示按十进制转换 所属文件:
www.eeworm.com/read/378183/9245452

dat funtc319b.dat

#include #include #include char source[15] = "rFna koBlrna d"; char target[15]; int main(void) { swab(source, target, strlen(source)); printf("This is ta
www.eeworm.com/read/378183/9245516

dat funtc318b.dat

#include #include int main(void) { char *string = "87654321", *endptr; long lnumber; lnumber = strtol(string, &endptr, 10); printf("string = %s long = %ld
www.eeworm.com/read/378183/9245619

dat funtc123b.dat

#include #include #include int main(void) { int status; printf("Enter either 1 or 2 "); status = getch(); exit(0); return 0; }
www.eeworm.com/read/378183/9245659

dat funtc123.dat

函数名称: exit 函数原型: void exit(int state) 函数功能: 程序中止执行,返回调用过程 函数返回: 函数说明: state 0-正常中止,非0-非正常中止 所属文件:
www.eeworm.com/read/378183/9245705

dat funtc190.dat

函数名称: gcvt 函数原型: char * gcvt(double value, int ndec, char *buf) 函数功能: 将数值value转换为长度为ndec的字符串 函数返回: 指向buf的指针 函数说明: value 要转换的浮点数值,ndec 转换后的长度 所属文件:
www.eeworm.com/read/378183/9245748

dat funtc125.dat

函数名称: ecvt 函数原型: char *ecvt(double value, int ndigit,int *dec, int *sign) 函数功能: 将浮点数转换为字符串 函数返回: 转换后的字符串指针 函数说明: value 待转换底浮点数,ndigit 转换后的字符串长度. 所属文件:
www.eeworm.com/read/378183/9245769

dat funtc191b.dat

#include #include int main(void) { char *s; s=getenv("COMSPEC"); printf("Command processor: %s ",s); return 0; }