代码搜索:stdlib
找到约 10,000 项符合「stdlib」的源代码
代码结果 10,000
www.eeworm.com/read/436999/7757248
c h0206.c
#include
#include
int main( void )
{
unsigned long lnumber = 3123456789L;
char string[25];
ultoa(lnumber,string,10);
printf("string = %s unsigned long = %l
www.eeworm.com/read/436999/7757261
c h0205.c
#include
#include
int main(void)
{
char string[25];
long value = 123456789L;
ltoa(value,string,10);
printf("number = %ld string = %s\n", value, string);
www.eeworm.com/read/436999/7757269
c h0702.c
#include
#include
#include
int main(void)
{
int status;
printf("Enter either 1 or 2\n");
status = getch();
/* Sets DOS errorlevel */
exit(st
www.eeworm.com/read/436999/7757272
c h0201.c
#include
#include
int main(void)
{
float f;
char *str = "12345.67";
f = atof(str);
printf("string = %s float = %f\n", str, f);
return 0;
}
www.eeworm.com/read/436665/7766363
c~ test.c~
#include
#include
#include
static int index=0;
int main() {
if(fork()==0) {
index++;
printf("child %d\n",index);
}
else {
wait(0);
printf("father %d\n",index
www.eeworm.com/read/436250/7773900
c srch_env.c
#include
#include
void main (int argc, char *argv[])
{
char path[128];
_searchenv(argv[1], "LIB", path);
if (path[0])
printf("Pathname: %s\n", path)
www.eeworm.com/read/436250/7774169
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/436250/7774175
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/436250/7774253
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/436204/7775261
cpp 随机数.cpp
// 随机数
#include
#include
#include
int main()
{
int n,MAX;
srand((unsigned)time(NULL));
MAX=1000000;
n=rand()%MAX+1;
printf("%d\n",n);