代码搜索:stdlib
找到约 10,000 项符合「stdlib」的源代码
代码结果 10,000
www.eeworm.com/read/382299/9038564
cpp b.cpp
#include
#include
extern "C"
{
#include "bb.h"
}
typedef struct {
int a;
}TEST ;
void aaa(TEST & A,TEST B){
A.a=1;
B.a=1
www.eeworm.com/read/185423/9038702
h dis.h
#include "iostream.h"
#include "stdlib.h"
int Display ()
{
int i; //2 4 6 8 10 15 20 25 30 50 80 150
system ("cls");
cout
www.eeworm.com/read/381752/9073961
cpp chapter2-10.cpp
//文件名:CHAPTER2-10.cpp
#include
#include
#include
void main(void)
{
ofstream f1("a:wr1.dat"); //定义输出文件流,并打开相应文件,若打开失败则f1带回0值
if (!f1)
{ //当f1
www.eeworm.com/read/381152/9107245
c execle.c
#include
#include
#include
int main()
{
char *envp[]={"PATH=/tmp","USER=sunq",NULL};
if(fork()==0){
if(execle("/bin/env","env",NULL,en
www.eeworm.com/read/381152/9107260
c execve.c
#include
#include
#include
int main()
{
char *arg[]={"env",NULL};
char *envp[]={"PATH=/tmp","USER=sunq",NULL};
if(fork()==0){
if(("b
www.eeworm.com/read/381152/9107289
c alarm.c
#include
#include
#include
int main()
{
int ret;
ret=alarm(5);
pause();
printf("I have been waken up.\n",ret);
}
www.eeworm.com/read/381148/9107492
cpp gerand.cpp
#include
double gerand()
{
double z;
z=rand()/(RAND_MAX+0.0);
return(z);
}
www.eeworm.com/read/282274/9107631
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/282274/9107647
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/9120569
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)