亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 1.txt

?? A.執(zhí)行SPLIB B.執(zhí)行SPDOS C.裝載拼音模塊D.裝載五筆字型輸入模塊32.在漢字輸入狀態(tài)下
?? TXT
?? 第 1 頁 / 共 5 頁
字號(hào):
   cprintf("The number of clock ticks since midnight is:\r\n"); 

   cprintf("The number of seconds since midnight is:\r\n"); 

   cprintf("The number of minutes since midnight is:\r\n"); 

   cprintf("The number of hours since midnight is:\r\n"); 

   cprintf("\r\nPress any key to quit:"); 

   while(!kbhit()) 

   { 

      bios_time = biostime(0, 0L); 

       gotoxy(50, 1); 

      cprintf("%lu", bios_time); 

       gotoxy(50, 2); 

      cprintf("%.4f", bios_time / CLK_TCK); 

       gotoxy(50, 3); 

      cprintf("%.4f", bios_time / CLK_TCK / 60); 

       gotoxy(50, 4); 

      cprintf("%.4f", bios_time / CLK_TCK / 3600); 

   } 

   return 0; 

} 

函數(shù)名: brk 
功  能: 改變數(shù)據(jù)段空間分配 

用  法: int brk(void *endds); 

程序例: 

 #include <stdio.h> 

#include <alloc.h> 

 int main(void) 

{ 

   char *ptr; 

    printf("Changing allocation with brk()\n"); 

   ptr = malloc(1); 

   printf("Before brk() call: %lu bytes free\n", coreleft()); 

   brk(ptr+1000); 

   printf(" After brk() call: %lu bytes free\n", coreleft()); 

   return 0; 

} 
函數(shù)名: bsearch
功  能: 二分法搜索 

用  法: void *bsearch(const void *key, const void *base, size_t *nelem, 

        size_t width, int(*fcmp)(const void *, const *)); 

程序例: 

 #include <stdlib.h> 

#include <stdio.h> 

 #define NELEMS(arr) (sizeof(arr) / sizeof(arr[0])) 

 int numarray[] = {123, 145, 512, 627, 800, 933}; 

int numeric (const int *p1, const int *p2) 

{ 

   return(*p1 - *p2); 

} 

 int lookup(int key) 

{ 

   int *itemptr; 

    /* The cast of (int(*)(const void *,const void*)) 

      is needed to avoid a type mismatch error at 

      compile time */ 

   itemptr = bsearch (&key, numarray, NELEMS(numarray), 

      sizeof(int), (int(*)(const void *,const void *))numeric); 

   return (itemptr != NULL); 

} 

 int main(void) 

{ 

   if (lookup(512)) 

      printf("512 is in the table.\n"); 

   else 

      printf("512 isn't in the table.\n"); 

    return 0; 

}

 
-----------------------------------------------------------------------------
 
C語言庫函數(shù)(C類字母) 
AiY.CN 收集整理 (2001-07-27 09:00:00) 
函數(shù)名: cabs 
功 能: 計(jì)算復(fù)數(shù)的絕對(duì)值 
用 法: double cabs(struct complex z); 
程序例: 
#include <stdio.h> 
#include <math.h> 

int main(void) 
{ 
struct complex z; 
double val; 

z.x = 2.0; 
z.y = 1.0; 
val = cabs(z); 

printf("The absolute value of %.2lfi %.2lfj is %.2lf", z.x, z.y, val); 
return 0; 
} 
函數(shù)名: calloc 
功 能: 分配主存儲(chǔ)器 
用 法: void *calloc(size_t nelem, size_t elsize); 
程序例: 

#include <stdio.h> 
#include <alloc.h> 

int main(void) 
{ 
char *str = NULL; 

/* allocate memory for string */ 
str = calloc(10, sizeof(char)); 

/* copy "Hello" into string */ 
strcpy(str, "Hello"); 

/* display string */ 
printf("String is %s\n", str); 

/* free memory */ 
free(str); 

return 0; 
} 

函數(shù)名: ceil 
功 能: 向上舍入 
用 法: double ceil(double x); 
程序例: 

#include <math.h> 
#include <stdio.h> 

int main(void) 
{ 
double number = 123.54; 
double down, up; 

down = floor(number); 
up = ceil(number); 

printf("original number %5.2lf\n", number); 
printf("number rounded down %5.2lf\n", down); 
printf("number rounded up %5.2lf\n", up); 

return 0; 
} 
函數(shù)名: cgets 
功 能: 從控制臺(tái)讀字符串 
用 法: char *cgets(char *str); 
程序例: 

#include <stdio.h> 
#include <conio.h> 

int main(void) 
{ 
char buffer[83]; 
char *p; 

/* There's space for 80 characters plus the NULL terminator */ 
buffer[0] = 81; 

printf("Input some chars:"); 
p = cgets(buffer); 
printf("\ncgets read %d characters: \"%s\"\n", buffer[1], p); 
printf("The returned pointer is %p, buffer[0] is at %p\n", p, &buffer); 

/* Leave room for 5 characters plus the NULL terminator */ 
buffer[0] = 6; 

printf("Input some chars:"); 
p = cgets(buffer); 
printf("\ncgets read %d characters: \"%s\"\n", buffer[1], p); 
printf("The returned pointer is %p, buffer[0] is at %p\n", p, &buffer); 
return 0; 
} 


函數(shù)名: chdir 
功 能: 改變工作目錄 
用 法: int chdir(const char *path); 
程序例: 

#include <stdio.h> 
#include <stdlib.h> 
#include <dir.h> 

char old_dir[MAXDIR]; 
char new_dir[MAXDIR]; 

int main(void) 
{ 
if (getcurdir(0, old_dir)) 
{ 
perror("getcurdir()"); 
exit(1); 
} 
printf("Current directory is: \\%s\n", old_dir); 

if (chdir("\\")) 
{ 
perror("chdir()"); 
exit(1); 
} 

if (getcurdir(0, new_dir)) 
{ 
perror("getcurdir()"); 
exit(1); 
} 
printf("Current directory is now: \\%s\n", new_dir); 

printf("\nChanging back to orignal directory: \\%s\n", old_dir); 
if (chdir(old_dir)) 
{ 
perror("chdir()"); 
exit(1); 
} 

return 0; 
} 



函數(shù)名: _chmod, chmod 
功 能: 改變文件的訪問方式 
用 法: int chmod(const char *filename, int permiss); 
程序例: 

#include <sys\stat.h> 
#include <stdio.h> 
#include <io.h> 

void make_read_only(char *filename); 

int main(void) 
{ 
make_read_only("NOTEXIST.FIL"); 
make_read_only("MYFILE.FIL"); 
return 0; 
} 

void make_read_only(char *filename) 
{ 
int stat; 

stat = chmod(filename, S_IREAD); 
if (stat) 
printf("Couldn't make %s read-only\n", filename); 
else 
printf("Made %s read-only\n", filename); 
} 




函數(shù)名: chsize 
功 能: 改變文件大小 
用 法: int chsize(int handle, long size); 
程序例: 

#include <string.h> 
#include <fcntl.h> 
#include <io.h> 

int main(void) 
{ 
int handle; 
char buf[11] = "0123456789"; 

/* create text file containing 10 bytes */ 
handle = open("DUMMY.FIL", O_CREAT); 
write(handle, buf, strlen(buf)); 

/* truncate the file to 5 bytes in size */ 
chsize(handle, 5); 

/* close the file */ 
close(handle); 
return 0; 
} 



函數(shù)名: circle 
功 能: 在給定半徑以(x, y)為圓心畫圓 
用 法: void far circle(int x, int y, int radius); 
程序例: 

#include <graphics.h> 
#include <stdlib.h> 
#include <stdio.h> 
#include <conio.h> 

int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int midx, midy; 
int radius = 100; 

/* initialize graphics and local variables */ 
initgraph(&gdriver, &gmode, ""); 

/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf("Graphics error: %s\n", grapherrormsg(errorcode)); 
printf("Press any key to halt:"); 
getch(); 
exit(1); /* terminate with an error code */ 
} 

midx = getmaxx() / 2; 
midy = getmaxy() / 2; 
setcolor(getmaxcolor()); 

/* draw the circle */ 
circle(midx, midy, radius); 

/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 




函數(shù)名: cleardevice 
功 能: 清除圖形屏幕 
用 法: void far cleardevice(void); 
程序例: 

#include <graphics.h> 
#include <stdlib.h> 
#include <stdio.h> 
#include <conio.h> 

int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int midx, midy; 

/* initialize graphics and local variables */ 
initgraph(&gdriver, &gmode, ""); 

/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf("Graphics error: %s\n", grapherrormsg(errorcode)); 
printf("Press any key to halt:"); 
getch(); 
exit(1); /* terminate with an error code */ 
} 

midx = getmaxx() / 2; 
midy = getmaxy() / 2; 
setcolor(getmaxcolor()); 

/* for centering screen messages */ 
settextjustify(CENTER_TEXT, CENTER_TEXT); 

/* output a message to the screen */ 
outtextxy(midx, midy, "press any key to clear the screen:"); 

/* wait for a key */ 
getch(); 

/* clear the screen */ 
cleardevice(); 

/* output another message */ 
outtextxy(midx, midy, "press any key to quit:"); 

/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 




函數(shù)名: clearerr 
功 能: 復(fù)位錯(cuò)誤標(biāo)志 
用 法:void clearerr(FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
FILE *fp; 
char ch; 

/* open a file for writing */ 
fp = fopen("DUMMY.FIL", "w"); 

/* force an error condition by attempting to read */ 
ch = fgetc(fp); 
printf("%c\n",ch); 

if (ferror(fp)) 
{ 
/* display an error message */ 
printf("Error reading from DUMMY.FIL\n"); 

/* reset the error and EOF indicators */ 
clearerr(fp); 
} 

fclose(fp); 
return 0; 
} 




函數(shù)名: clearviewport 
功 能: 清除圖形視區(qū) 
用 法: void far clearviewport(void); 
程序例: 

#include <graphics.h> 
#include <stdlib.h> 
#include <stdio.h> 
#include <conio.h> 

#define CLIP_ON 1 /* activates clipping in viewport */ 

int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int ht; 

/* initialize graphics and local variables */ 
initgraph(&gdriver, &gmode, ""); 

/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf("Graphics error: %s\n", grapherrormsg(errorcode)); 
printf("Press any key to halt:"); 
getch(); 
exit(1); /* terminate with an error code */ 
} 

setcolor(getmaxcolor()); 
ht = textheight("W"); 

/* message in default full-screen viewport */ 
outtextxy(0, 0, "* <-- (0, 0) in default viewport"); 

/* create a smaller viewport */ 
setviewport(50, 50, getmaxx()-50, getmaxy()-50, CLIP_ON); 

/* display some messages */ 
outtextxy(0, 0, "* <-- (0, 0) in smaller viewport"); 
outtextxy(0, 2*ht, "Press any key to clear viewport:"); 

/* wait for a key */ 
getch(); 

/* clear the viewport */ 
clearviewport(); 

/* output another message */ 
outtextxy(0, 0, "Press any key to quit:"); 

/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 




函數(shù)名: _close, close 
功 能: 關(guān)閉文件句柄 
用 法: int close(int handle); 
程序例: 

#include <string.h> 
#include <stdio.h> 
#include <fcntl.h> 
#include <io.h> 

main() 
{ 
int handle; 
char buf[11] = "0123456789"; 

/* create a file containing 10 bytes */ 
handle = open("NEW.FIL", O_CREAT); 
if (handle > -1) 
{ 
write(handle, buf, strlen(buf)); 

/* close the file */ 
close(handle); 
} 
else 
{ 
printf("Error opening file\n"); 
} 
return 0; 
} 




函數(shù)名: clock 
功 能: 確定處理器時(shí)間 
用 法: clock_t clock(void); 
程序例: 

#include <time.h> 
#include <stdio.h> 
#include <dos.h> 

int main(void) 
{ 
clock_t start, end; 
start = clock(); 

delay(2000); 

end = clock(); 
printf("The time was: %f\n", (end - start) / CLK_TCK); 

return 0; 
} 




函數(shù)名: closegraph 
功 能: 關(guān)閉圖形系統(tǒng) 
用 法: void far closegraph(void); 
程序例: 

#include <graphics.h> 
#include <stdlib.h> 
#include <stdio.h> 
#include <conio.h> 

int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int x, y; 

/* initialize graphics mode */ 
initgraph(&gdriver, &gmode, ""); 

/* read result of initialization */ 
errorcode = graphresult(); 

if (errorcode != grOk) /* an error 
occurred */ 
{ 
printf("Graphics error: %s\n", grapherrormsg(errorcode)); 
printf("Press any key to halt:"); 
getch(); 
exit(1); /* terminate with an error code */ 
} 

x = getmaxx() / 2; 
y = getmaxy() / 2; 

/* output a message */ 
settextjustify(CENTER_TEXT, CENTER_TEXT); 
outtextxy(x, y, "Press a key to close the graphics system:"); 

/* wait for a key */ 
getch(); 

/* closes down the graphics system */ 
closegraph(); 

printf("We're now back in text mode.\n"); 
printf("Press any key to halt:"); 
getch(); 
return 0; 
} 




函數(shù)名: clreol 
功 能: 在文本窗口中清除字符到行末 
用 法: void clreol(void); 
程序例: 

#include <conio.h> 

int main(void) 

{ 
clrscr(); 
cprintf("The function CLREOL clears all characters from the\r\n"); 
cprintf("cursor position to the end of the line within the\r\n"); 
cprintf("current text window, without moving the cursor.\r\n"); 
cprintf("Press any key to continue . . ."); 
gotoxy(14, 4); 
getch(); 

clreol(); 
getch(); 

return 0; 
} 




函數(shù)名: clrscr 
功 能: 清除文本模式窗口 
用 法: void clrscr(void); 
程序例: 

#include <conio.h> 

int main(void) 
{ 
int i; 

clrscr(); 
for (i = 0; i < 20; i++) 
cprintf("%d\r\n", i); 
cprintf("\r\nPress any key to clear screen"); 
getch(); 

clrscr(); 
cprintf("The screen has been cleared!"); 
getch(); 

return 0; 
} 




函數(shù)名: coreleft 
功 能: 返回未使用內(nèi)存的大小 
用 法: unsigned coreleft(void); 
程序例: 

#include <stdio.h> 
#include <alloc.h> 

int main(void) 
{ 
printf("The difference between the highest allocated block and\n"); 
printf("the top of the heap is: %lu bytes\n", (unsigned long) coreleft()); 

return 0; 
} 


函數(shù)名: cos 
功 能: 余弦函數(shù) 
用 法: double cos(double x); 
程序例: 

#include <stdio.h> 
#include <math.h> 

int main(void) 
{ 
double result; 
double x = 0.5; 

result = cos(x); 
printf("The cosine of %lf is %lf\n", x, result); 
return 0; 
} 




函數(shù)名: cosh 
功 能: 雙曲余弦函數(shù) 
用 法: dluble cosh(double x); 
程序例: 

#include <stdio.h> 
#include <math.h> 

int main(void) 
{ 
double result; 
double x = 0.5; 

result = cosh(x); 
printf("The hyperboic cosine of %lf is %lf\n", x, result); 
return 0; 
} 




函數(shù)名: country 
功 能: 返回與國(guó)家有關(guān)的信息 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲动漫精品| 亚洲美女视频一区| 欧美成人精精品一区二区频| 欧美日韩电影在线播放| 欧美色图一区二区三区| 日本久久电影网| 欧美性做爰猛烈叫床潮| 欧美性受xxxx黑人xyx| 欧美日韩久久一区| 69av一区二区三区| 欧美tickling网站挠脚心| 欧美一级专区免费大片| 精品国产一区二区三区久久影院 | 国产精品视频你懂的| 日本一区二区三区高清不卡| 国产精品精品国产色婷婷| 亚洲同性gay激情无套| 亚洲男人天堂av网| 亚洲午夜免费福利视频| 日韩电影免费在线| 精久久久久久久久久久| 岛国精品一区二区| 99re这里只有精品6| 欧美色偷偷大香| 日韩三级av在线播放| 久久九九久精品国产免费直播| 中文字幕不卡在线观看| 亚洲精品中文在线| 亚洲第一二三四区| 蜜桃传媒麻豆第一区在线观看| 九九视频精品免费| 成人精品视频一区| 欧美日韩视频在线第一区| 日韩丝袜情趣美女图片| 国产精品萝li| 亚洲成人高清在线| 国产一区二区三区免费看| 精品福利av导航| 国产精品久久久久影院色老大| 亚洲午夜久久久久久久久久久 | 欧美日韩一级片网站| 精品欧美乱码久久久久久1区2区| 国产欧美综合在线观看第十页| 一区二区视频在线| 久久99精品久久久久久国产越南| 成年人国产精品| 91精品国产91热久久久做人人| 久久久不卡影院| 亚洲不卡av一区二区三区| 国产精品综合二区| 欧美一a一片一级一片| 精品成人免费观看| 亚洲综合丁香婷婷六月香| 激情综合一区二区三区| 91黄色免费版| 久久久精品2019中文字幕之3| 一区二区三区精品在线| 国产乱国产乱300精品| 色综合久久久久综合体| 久久久久国产精品麻豆| 亚洲一区二区三区精品在线| 国产精品1区2区| 欧美精品一级二级三级| 亚洲欧洲av在线| 国产资源精品在线观看| 欧美日韩精品欧美日韩精品一综合| 国产日韩欧美激情| 免费看欧美女人艹b| 在线视频欧美区| 中文字幕一区二区在线观看| 另类小说综合欧美亚洲| 精品视频资源站| 亚洲女人****多毛耸耸8| 国产一区久久久| 欧美一三区三区四区免费在线看 | 大白屁股一区二区视频| 日韩精品一区二区三区在线| 亚洲一卡二卡三卡四卡无卡久久| 成人av网站在线| 久久久久成人黄色影片| 久久精品国产精品青草| 欧美精品少妇一区二区三区| 亚洲乱码国产乱码精品精小说| 国产aⅴ精品一区二区三区色成熟| 6080yy午夜一二三区久久| 亚洲一区二区av电影| 成人av电影在线| 亚洲国产精品成人综合色在线婷婷| 久久国产精品72免费观看| 9191成人精品久久| 亚洲成人中文在线| 精品视频一区二区三区免费| 一区二区不卡在线视频 午夜欧美不卡在| 懂色av中文字幕一区二区三区| 26uuu精品一区二区三区四区在线| 爽爽淫人综合网网站| 欧美色手机在线观看| 亚洲国产精品久久不卡毛片| 91久久国产综合久久| 一区二区三区精品| 欧美性淫爽ww久久久久无| 一区二区成人在线视频| 欧美色图在线观看| 午夜精品久久久久久久99水蜜桃| 欧美久久一区二区| 日日夜夜免费精品| 欧美一区二区三区视频在线观看 | 国产欧美日韩视频一区二区| 国产麻豆精品视频| 国产亚洲女人久久久久毛片| 国产老肥熟一区二区三区| 国产女主播视频一区二区| 成人精品国产一区二区4080| 国产精品麻豆一区二区| www.av亚洲| 一区二区免费看| 欧美欧美欧美欧美首页| 麻豆成人av在线| 久久久久久久久久久久久女国产乱 | 久久综合久久鬼色| 懂色一区二区三区免费观看| 成人欧美一区二区三区黑人麻豆| 91欧美激情一区二区三区成人| 一区二区日韩av| 欧美丰满高潮xxxx喷水动漫| 久久黄色级2电影| 久久精品夜色噜噜亚洲aⅴ| av在线一区二区| 亚洲图片欧美一区| 日韩欧美国产wwwww| 国产成人亚洲综合a∨婷婷 | 久久se精品一区二区| 国产色91在线| 在线国产电影不卡| 青青草91视频| 国产女同性恋一区二区| 欧美主播一区二区三区| 美女www一区二区| 国产精品伦理一区二区| 欧美性猛交xxxxxx富婆| 经典一区二区三区| 亚洲日本乱码在线观看| 5566中文字幕一区二区电影| 东方aⅴ免费观看久久av| 亚洲曰韩产成在线| 精品国精品自拍自在线| 99久久精品国产一区二区三区| 亚洲大片精品永久免费| 国产亚洲欧美中文| 欧美色视频在线观看| 国产精品911| 亚洲一二三区在线观看| 国产色产综合产在线视频| 欧美日韩一区二区三区高清| 国产成人精品影院| 午夜精品免费在线| 欧美国产精品久久| 91精品国产综合久久精品图片| 成人黄页在线观看| 蜜臀精品一区二区三区在线观看| 中文字幕在线不卡| 欧美xingq一区二区| 91成人在线精品| 国产激情视频一区二区三区欧美 | 亚洲天堂精品视频| 日韩欧美一级二级| 色哟哟国产精品免费观看| 国产精品一区二区免费不卡| 首页国产欧美久久| 亚洲色图另类专区| 久久久www成人免费无遮挡大片 | 亚洲国产一区二区视频| 久久久亚洲高清| 亚洲二区在线视频| 中文字幕va一区二区三区| 日韩欧美国产wwwww| 欧美三级日韩在线| 99久久综合狠狠综合久久| 久久99热99| 日韩成人精品在线| 亚洲一区在线视频| 国产精品每日更新| 久久久久久久国产精品影院| 日韩一区二区三区精品视频 | 亚洲特黄一级片| 久久久精品国产99久久精品芒果| 欧美一区日本一区韩国一区| 欧美主播一区二区三区美女| www.爱久久.com| 成人精品gif动图一区| 国产一区二区不卡| 久久国产尿小便嘘嘘| 蜜臀久久久久久久| 三级影片在线观看欧美日韩一区二区| 亚洲视频一区二区在线观看| 国产精品成人在线观看| 久久久三级国产网站| 久久久99精品免费观看| 久久尤物电影视频在线观看| 精品久久久久久久一区二区蜜臀|