代码搜索:stdlib

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

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

dat funtc17b.dat

rand #include #include int main(void) { int i; printf("Ten random numbers from 0 to 99 "); for(i=0; i
www.eeworm.com/read/378183/9245820

dat funtc208b.dat

#include #include int main(void) { int number = 12345; char string[25]; itoa(number, string, 10); printf("integer = %d string = %s ", number, string);
www.eeworm.com/read/378183/9245852

dat funtc331b.dat

#include #include #include int main(void) { time_t td; putenv("TZ=PST8PDT"); tzset(); time(&td); printf("Current time = %s ", asctime(localti
www.eeworm.com/read/378183/9245858

dat funtc223.dat

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

dat funtc317b.dat

#include #include int main(void) { char input[80], *endptr; double value; printf("Enter a floating point number:"); gets(input); value = strtod(input,
www.eeworm.com/read/378183/9245878

dat funtc273.dat

函数名称: system 函数原型: int system(const char *command) 函数功能: 调用DOS命令 函数返回: 函数说明: 所属文件:
www.eeworm.com/read/378183/9245923

dat funtc88b.dat

#include #include int main(void) { long l; char *str ="98765432"; l = atol(lstr); printf("string = %s integer = %ld ", str, l); return(0); }
www.eeworm.com/read/378183/9245935

dat funtc218.dat

函数名称: labs 函数原型: long labs(long num) 函数功能: 求长整型参数的绝对值 函数返回: 绝对值 函数说明: 所属文件:
www.eeworm.com/read/378183/9246076

dat funtc55b.dat

fscanf #include #include int main(void) { int i; printf("Input an integer: "); if (fscanf(stdin, "%d", &i)) printf("The integer read was: %i ", i);
www.eeworm.com/read/378183/9246120

dat funtc262.dat

函数名称: random 函数原型: int random(int num) 函数功能: 得到一个在0和参数num之间的随机数 函数返回: 一个在0和参数num之间的随机数 函数说明: num 最大的随机数取值 所属文件: