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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c.htm

?? C語言函數庫,包含所有的C語言函數
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body bgcolor="#00FFFF" text="#000080">

<PRE><font size="5"><a href="a.htm">A</a> <a href="b.htm">B</a> <a href="c.htm">C</a> <a href="d.htm">D</a> <a href="e.htm">E</a> <a href="f.htm">F</a> <a href="g.htm">G</a> <a href="h.htm">H</a> <a href="i.htm">I</a> <a href="k.htm">K</a> <a href="l.htm">L</a> <a href="m.htm">M</a> <a href="n.htm">N</a> <a href="o.htm">O</a> <a href="p.htm">P</a> <a href="q.htm">Q</a> <a href="r.htm">R</a> <a href="s.htm">S</a> <a href="t.htm">T</a> <a href="u.htm">U</a> <a href="v.htm">V</a> <a href="w.htm">W</a></font></PRE>

<PRE>函數大全(c開頭)
</PRE>
<PRE>函數名: <font size="5" color="#FF0000">cabs</font> 
功 能: 計算復數的絕對值 
用 法: double cabs(struct complex z); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
struct complex z; 
double val; </PRE>
<PRE>z.x = 2.0; 
z.y = 1.0; 
val = cabs(z); </PRE>
<PRE>printf(&quot;The absolute value of %.2lfi %.2lfj is %.2lf&quot;, z.x, z.y, val); 
return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">calloc </font>
功 能: 分配主存儲器 
用 法: void *calloc(size_t nelem, size_t elsize); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
char *str = NULL; </PRE>
<PRE>/* allocate memory for string */ 
str = calloc(10, sizeof(char)); </PRE>
<PRE>/* copy &quot;Hello&quot; into string */ 
strcpy(str, &quot;Hello&quot;); </PRE>
<PRE>/* display string */ 
printf(&quot;String is %s\n&quot;, str); </PRE>
<PRE>/* free memory */ 
free(str); </PRE>
<PRE>return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">ceil </font>
功 能: 向上舍入 
用 法: double ceil(double x); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
double number = 123.54; 
double down, up; </PRE>
<PRE>down = floor(number); 
up = ceil(number); </PRE>
<PRE>printf(&quot;original number %5.2lf\n&quot;, number); 
printf(&quot;number rounded down %5.2lf\n&quot;, down); 
printf(&quot;number rounded up %5.2lf\n&quot;, up); </PRE>
<PRE>return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">cgets </font>
功 能: 從控制臺讀字符串 
用 法: char *cgets(char *str); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
char buffer[83]; 
char *p; </PRE>
<PRE>/* There's space for 80 characters plus the NULL terminator */ 
buffer[0] = 81; </PRE>
<PRE>printf(&quot;Input some chars:&quot;); 
p = cgets(buffer); 
printf(&quot;\ncgets read %d characters: \&quot;%s\&quot;\n&quot;, buffer[1], p); 
printf(&quot;The returned pointer is %p, buffer[0] is at %p\n&quot;, p, &amp;buffer); </PRE>
<PRE>/* Leave room for 5 characters plus the NULL terminator */ 
buffer[0] = 6; </PRE>
<PRE>printf(&quot;Input some chars:&quot;); 
p = cgets(buffer); 
printf(&quot;\ncgets read %d characters: \&quot;%s\&quot;\n&quot;, buffer[1], p); 
printf(&quot;The returned pointer is %p, buffer[0] is at %p\n&quot;, p, &amp;buffer); 
return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">chdir </font>
功 能: 改變工作目錄 
用 法: int chdir(const char *path); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>char old_dir[MAXDIR]; 
char new_dir[MAXDIR]; </PRE>
<PRE>int main(void) 
{ 
if (getcurdir(0, old_dir)) 
{ 
perror(&quot;getcurdir()&quot;); 
exit(1); 
} 
printf(&quot;Current directory is: \\%s\n&quot;, old_dir); </PRE>
<PRE>if (chdir(&quot;\\&quot;)) 
{ 
perror(&quot;chdir()&quot;); 
exit(1); 
} </PRE>
<PRE>if (getcurdir(0, new_dir)) 
{ 
perror(&quot;getcurdir()&quot;); 
exit(1); 
} 
printf(&quot;Current directory is now: \\%s\n&quot;, new_dir); </PRE>
<PRE>printf(&quot;\nChanging back to orignal directory: \\%s\n&quot;, old_dir); 
if (chdir(old_dir)) 
{ 
perror(&quot;chdir()&quot;); 
exit(1); 
} </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">_chmod</font>
功 能: 改變文件的訪問方式 
用 法: int chmod(const char *filename, int permiss); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>void make_read_only(char *filename); </PRE>
<PRE>int main(void) 
{ 
make_read_only(&quot;NOTEXIST.FIL&quot;); 
make_read_only(&quot;MYFILE.FIL&quot;); 
return 0; 
} </PRE>
<PRE>void make_read_only(char *filename) 
{ 
int stat; </PRE>
<PRE>stat = chmod(filename, S_IREAD); 
if (stat) 
printf(&quot;Couldn't make %s read-only\n&quot;, filename); 
else 
printf(&quot;Made %s read-only\n&quot;, filename); 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">chsize </font>
功 能: 改變文件大小 
用 法: int chsize(int handle, long size); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
int handle; 
char buf[11] = &quot;0123456789&quot;; </PRE>
<PRE>/* create text file containing 10 bytes */ 
handle = open(&quot;DUMMY.FIL&quot;, O_CREAT); 
write(handle, buf, strlen(buf)); </PRE>
<PRE>/* truncate the file to 5 bytes in size */ 
chsize(handle, 5); </PRE>
<PRE>/* close the file */ 
close(handle); 
return 0; 
} 

</PRE>
<PRE>函數名:<font size="5" color="#FF0000"> circle </font>
功 能: 在給定半徑以(x, y)為圓心畫圓 
用 法: void far circle(int x, int y, int radius); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int midx, midy; 
int radius = 100; </PRE>
<PRE>/* initialize graphics and local variables */ 
initgraph(&amp;gdriver, &amp;gmode, &quot;&quot;); </PRE>
<PRE>/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf(&quot;Graphics error: %s\n&quot;, grapherrormsg(errorcode)); 
printf(&quot;Press any key to halt:&quot;); 
getch(); 
exit(1); /* terminate with an error code */ 
} </PRE>
<PRE>midx = getmaxx() / 2; 
midy = getmaxy() / 2; 
setcolor(getmaxcolor()); </PRE>
<PRE>/* draw the circle */ 
circle(midx, midy, radius); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">cleardevice </font>
功 能: 清除圖形屏幕 
用 法: void far cleardevice(void); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int midx, midy; </PRE>
<PRE>/* initialize graphics and local variables */ 
initgraph(&amp;gdriver, &amp;gmode, &quot;&quot;); </PRE>
<PRE>/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf(&quot;Graphics error: %s\n&quot;, grapherrormsg(errorcode)); 
printf(&quot;Press any key to halt:&quot;); 
getch(); 
exit(1); /* terminate with an error code */ 
} </PRE>
<PRE>midx = getmaxx() / 2; 
midy = getmaxy() / 2; 
setcolor(getmaxcolor()); </PRE>
<PRE>/* for centering screen messages */ 
settextjustify(CENTER_TEXT, CENTER_TEXT); </PRE>
<PRE>/* output a message to the screen */ 
outtextxy(midx, midy, &quot;press any key to clear the screen:&quot;); </PRE>
<PRE>/* wait for a key */ 
getch(); </PRE>
<PRE>/* clear the screen */ 
cleardevice(); </PRE>
<PRE>/* output another message */ 
outtextxy(midx, midy, &quot;press any key to quit:&quot;); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">clearerr</font> 
功 能: 復位錯誤標志 
用 法:void clearerr(FILE *stream); 
程序例: </PRE>
<PRE>#include </PRE>
<PRE>int main(void) 
{ 
FILE *fp; 
char ch; </PRE>
<PRE>/* open a file for writing */ 
fp = fopen(&quot;DUMMY.FIL&quot;, &quot;w&quot;); </PRE>
<PRE>/* force an error condition by attempting to read */ 
ch = fgetc(fp); 
printf(&quot;%c\n&quot;,ch); </PRE>
<PRE>if (ferror(fp)) 
{ 
/* display an error message */ 
printf(&quot;Error reading from DUMMY.FIL\n&quot;); </PRE>
<PRE>/* reset the error and EOF indicators */ 
clearerr(fp); 
} </PRE>
<PRE>fclose(fp); 
return 0; 
} 


</PRE>
<PRE>函數名: <font size="5" color="#FF0000">clearviewport</font> 
功 能: 清除圖形視區 
用 法: void far clearviewport(void); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>#define CLIP_ON 1 /* activates clipping in viewport */ </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int ht; </PRE>
<PRE>/* initialize graphics and local variables */ 
initgraph(&amp;gdriver, &amp;gmode, &quot;&quot;); </PRE>
<PRE>/* read result of initialization */ 
errorcode = graphresult(); 
if (errorcode != grOk) /* an error occurred */ 
{ 
printf(&quot;Graphics error: %s\n&quot;, grapherrormsg(errorcode)); 
printf(&quot;Press any key to halt:&quot;); 
getch(); 
exit(1); /* terminate with an error code */ 
} </PRE>
<PRE>setcolor(getmaxcolor()); 
ht = textheight(&quot;W&quot;); </PRE>
<PRE>/* message in default full-screen viewport */ 
outtextxy(0, 0, &quot;* &lt;-- (0, 0) in default viewport&quot;); </PRE>
<PRE>/* create a smaller viewport */ 
setviewport(50, 50, getmaxx()-50, getmaxy()-50, CLIP_ON); </PRE>
<PRE>/* display some messages */ 
outtextxy(0, 0, &quot;* &lt;-- (0, 0) in smaller viewport&quot;); 
outtextxy(0, 2*ht, &quot;Press any key to clear viewport:&quot;); </PRE>
<PRE>/* wait for a key */ 
getch(); </PRE>
<PRE>/* clear the viewport */ 
clearviewport(); </PRE>
<PRE>/* output another message */ 
outtextxy(0, 0, &quot;Press any key to quit:&quot;); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 


</PRE>
<PRE>函數名: _<font size="5" color="#FF0000">close </font>
功 能: 關閉文件句柄 
用 法: int close(int handle); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>main() 
{ 
int handle; 
char buf[11] = &quot;0123456789&quot;; </PRE>
<PRE>/* create a file containing 10 bytes */ 
handle = open(&quot;NEW.FIL&quot;, O_CREAT); 
if (handle &gt; -1) 
{ 
write(handle, buf, strlen(buf)); </PRE>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲图片小说| 欧美丰满美乳xxx高潮www| 久久电影国产免费久久电影| 日韩国产欧美一区二区三区| 舔着乳尖日韩一区| 丝瓜av网站精品一区二区| 亚洲aⅴ怡春院| 性久久久久久久久久久久| 香蕉久久夜色精品国产使用方法| 亚洲.国产.中文慕字在线| 日韩成人精品在线| 久久er精品视频| 国产91丝袜在线播放0| 成人午夜视频免费看| 99久久精品免费看国产免费软件| 99精品久久久久久| 欧美日韩亚洲丝袜制服| 欧美一级专区免费大片| 国产欧美一区二区三区鸳鸯浴| 中文一区二区完整视频在线观看| 亚洲色图丝袜美腿| 亚洲成人tv网| 国产成人综合亚洲网站| 91福利资源站| 日韩精品专区在线影院观看| 国产精品情趣视频| 亚洲综合丝袜美腿| 久国产精品韩国三级视频| 岛国精品在线播放| 欧美影视一区二区三区| 欧美变态口味重另类| 国产精品动漫网站| 天天色天天操综合| 国产乱对白刺激视频不卡| 色婷婷av一区二区三区gif| 9191精品国产综合久久久久久| 久久理论电影网| 亚洲综合激情网| 精品亚洲国内自在自线福利| 色94色欧美sute亚洲13| 久久毛片高清国产| 日韩主播视频在线| 成人免费不卡视频| 日韩欧美色综合| 亚洲小说春色综合另类电影| 粉嫩蜜臀av国产精品网站| 欧美性生活大片视频| 国产日韩欧美高清| 男人的天堂亚洲一区| 色欧美日韩亚洲| 亚洲国产精品av| 久久99国产精品免费| 9191国产精品| 亚洲一区免费视频| 成人午夜大片免费观看| 91精品国产高清一区二区三区蜜臀| 亚洲国产岛国毛片在线| 国内精品免费**视频| 欧美肥妇free| 亚洲不卡一区二区三区| 色偷偷一区二区三区| 国产精品视频免费看| 国产一区 二区 三区一级| 日韩视频在线永久播放| 午夜国产精品影院在线观看| 欧美中文字幕不卡| 亚洲一区二区在线观看视频| 色婷婷av一区| 亚洲综合一二区| 在线观看视频一区| 亚洲综合区在线| 色伊人久久综合中文字幕| 亚洲乱码精品一二三四区日韩在线 | 欧美午夜精品久久久久久孕妇| 国产精品国产三级国产有无不卡 | 91免费看`日韩一区二区| 国产午夜精品久久久久久久| 国产99精品在线观看| 中文字幕不卡在线播放| av中文字幕亚洲| 亚洲美女免费在线| 欧美午夜视频网站| 日本亚洲最大的色成网站www| 欧美剧在线免费观看网站| 三级欧美在线一区| 日韩视频免费观看高清在线视频| 美女诱惑一区二区| 久久精品一区二区三区不卡| 成人综合在线视频| 一区二区三区色| 欧美日本一道本| 国产一二三精品| 亚洲免费观看高清完整版在线观看| 91高清视频在线| 麻豆视频一区二区| 国产精品三级av在线播放| 在线观看视频91| 久久精品国产亚洲高清剧情介绍 | 日韩高清在线电影| 国产亚洲欧美日韩日本| 99riav一区二区三区| 亚洲一区二区三区美女| 日韩欧美国产1| 不卡一区二区三区四区| 亚洲综合在线观看视频| 日韩午夜在线播放| av电影一区二区| 日本在线不卡一区| 中文字幕中文在线不卡住| 欧美日韩国产在线观看| 国产成人综合自拍| 日韩黄色免费电影| 1024精品合集| 日韩欧美国产精品一区| 色婷婷综合久久久久中文一区二区| 秋霞影院一区二区| 最好看的中文字幕久久| 精品日韩99亚洲| 欧美午夜一区二区三区| 成人国产精品免费| 美女视频一区二区| 亚洲图片欧美一区| 专区另类欧美日韩| 久久久久久综合| 777xxx欧美| 色婷婷久久久久swag精品| 国产精品原创巨作av| 日韩黄色小视频| 一区二区在线观看不卡| 国产欧美一区在线| 久久蜜桃一区二区| 日韩一区二区不卡| 欧美挠脚心视频网站| 91国偷自产一区二区三区观看| 成人一区二区三区视频 | 国产精品每日更新在线播放网址| 欧美一区二区三区免费观看视频 | 亚洲色图视频网站| 国产精品不卡一区| 中文字幕乱码日本亚洲一区二区 | 国产精品三级视频| 久久人人97超碰com| 欧美一卡二卡三卡| 91精品欧美久久久久久动漫| 91高清视频免费看| 欧美无砖专区一中文字| 在线观看亚洲a| 在线亚洲人成电影网站色www| hitomi一区二区三区精品| 成人午夜视频网站| 99v久久综合狠狠综合久久| 成人做爰69片免费看网站| 成人免费视频免费观看| 国产suv精品一区二区6| 国产91色综合久久免费分享| 成人免费黄色在线| 91美女视频网站| 91麻豆swag| 欧洲一区在线电影| 欧美嫩在线观看| 日韩欧美色电影| 国产亚洲欧美日韩在线一区| 国产精品久久网站| 一区二区三区精品| 日本vs亚洲vs韩国一区三区| 精品一区二区三区久久久| 韩国av一区二区| 国产1区2区3区精品美女| av在线不卡电影| 日本精品视频一区二区| 欧美日本在线播放| 精品av久久707| 国产精品天美传媒| 亚洲精品视频在线观看网站| 日本一道高清亚洲日美韩| 国内成+人亚洲+欧美+综合在线| 春色校园综合激情亚洲| 欧美在线一区二区| 日韩一区二区电影网| 中文字幕一区二区三中文字幕| 夜夜嗨av一区二区三区中文字幕| 美女在线观看视频一区二区| www.成人网.com| 717成人午夜免费福利电影| 久久综合九色综合久久久精品综合| 国产精品高潮呻吟久久| 亚洲成人资源在线| 国产剧情一区在线| 欧美午夜在线一二页| 久久久91精品国产一区二区精品| 亚洲欧美福利一区二区| 另类人妖一区二区av| 成年人网站91| 欧美精品一区二区在线播放| 亚洲一区在线免费观看| 国产999精品久久久久久绿帽| 欧美日本韩国一区二区三区视频 | 色素色在线综合| 26uuu亚洲婷婷狠狠天堂| 亚洲一卡二卡三卡四卡无卡久久|