代码搜索:stdlib

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

代码结果 10,000
www.eeworm.com/read/380940/9121177

c atexit.c

#include #include void first(void) { printf("First function registered\n"); } void second(void) { printf("Second function registered\n"); } void main (vo
www.eeworm.com/read/380940/9121192

c showpath.c

#include #include void main (void) { char *entry; entry = getenv("PATH"); if (*entry) printf("PATH=%s\n", entry); else printf("PATH is not de
www.eeworm.com/read/380940/9121353

c min_max.c

#include #include void main (void) { printf("Maximum of %f and %f is %f\n", 10.0, 25.0, max(10.0, 25.0)); printf("Minimum of %f and %f is %f\n", 10.0,
www.eeworm.com/read/380937/9121853

c exit.c

# include # include void main() { int month; int day; printf("please input the month number: "); scanf("%d", &month); switch (month) { case 1: case 3: ca
www.eeworm.com/read/183756/9141723

c assert.c

/* assert.c - ANSI standard assert function */ /* Copyright 1992 Wind River Systems, Inc. */ /* modification history -------------------- 01c,24oct92,smb removed some redundant documentation. 01b,2
www.eeworm.com/read/183756/9141995

c atol.c

/* atol.c - atol files for stdlib */ /* Copyright 1992-1993 Wind River Systems, Inc. */ /* modification history -------------------- 01c,08feb93,jdi documentation cleanup for 5.1. 01b,20sep92,smb
www.eeworm.com/read/183756/9142000

c atexit.c

/* atexit.c - atexit file for stdlib */ /* Copyright 1992-1993 Wind River Systems, Inc. */ /* modification history -------------------- 01c,08feb93,jdi documentation cleanup for 5.1. 01b,20sep92,s
www.eeworm.com/read/183756/9142010

c atoi.c

/* atoi.c - atoi files for stdlib */ /* Copyright 1992-1993 Wind River Systems, Inc. */ /* modification history -------------------- 01c,08feb93,jdi documentation cleanup for 5.1. 01b,20sep92,smb
www.eeworm.com/read/183756/9142027

c system.c

/* system.c - system file for stdlib */ /* Copyright 1992-1993 Wind River Systems, Inc. */ /* modification history -------------------- 01c,08feb93,jdi documentation cleanup for 5.1. 01b,20sep92,s
www.eeworm.com/read/183628/9147015

txt 0-100伪随机数发生函数代码.txt

原理是用C语言提供的伪随机函数RAND()发生随机数但是每次调用RAND()时他产生的随机数几乎是一样的,原因是种子函数SRAND()的种子是一样的在初始调用时产生的术是一样的为了给一个变值作种子 我用time()函数他是C提供的库函数,他是产生1970年1月1日到当前时间的所有秒数就可以产生一个变值 下面是具体的代码实现(我在机房里调试通过了) #include ...