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

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

?? r.htm

?? C語言函數庫,包含所有的C語言函數
?? HTM
字號:
<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> </pre>

<PRE>函數大全(r開頭)
</PRE>

<PRE>函數名: <font size="5" color="#FF0000">raise </font>
功 能: 向正在執行的程序發送一個信號 
用 法: int raise(int sig); 
程序例: </PRE>
<PRE>#include </PRE>
<PRE>int main(void) 
{ 
int a, b; </PRE>
<PRE>a = 10; 
b = 0; 
if (b == 0) 
/* preempt divide by zero error */ 
raise(SIGFPE); 
a = a / b; 
return 0; 
} 

</PRE>
<PRE>函數名:<font size="5" color="#FF0000"> rand </font>
功 能: 隨機數發生器 
用 法: void rand(void); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
int i; </PRE>
<PRE>printf(&quot;Ten random numbers from 0 to 99\n\n&quot;); 
for(i=0; i&lt;10; i++) 
printf(&quot;%d\n&quot;, rand() % 100); 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">randbrd </font>
功 能: 隨機塊讀 
用 法: int randbrd(struct fcb *fcbptr, int reccnt); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
char far *save_dta; 
char line[80], buffer[256]; 
struct fcb blk; 
int i, result; </PRE>
<PRE>/* get user input file name for dta */ 
printf(&quot;Enter drive and file name (no path - i.e. a:file.dat)\n&quot;); 
gets(line); </PRE>
<PRE>/* put file name in fcb */ 
if (!parsfnm(line, &amp;blk, 1)) 
{ 
printf(&quot;Error in call to parsfnm\n&quot;); 
exit(1); 
} 
printf(&quot;Drive #%d File: %s\n\n&quot;, blk.fcb_drive, blk.fcb_name); </PRE>
<PRE>/* open file with DOS FCB open file */ 
bdosptr(0x0F, &amp;blk, 0); </PRE>
<PRE>/* save old dta, and set new one */ 
save_dta = getdta(); 
setdta(buffer); </PRE>
<PRE>/* set up info for the new dta */ 
blk.fcb_recsize = 128; 
blk.fcb_random = 0L; 
result = randbrd(&amp;blk, 1); </PRE>
<PRE>/* check results from randbrd */ 
if (!result) 
printf(&quot;Read OK\n\n&quot;); 
else 
{ 
perror(&quot;Error during read&quot;); 
exit(1); 
} </PRE>
<PRE>/* read in data from the new dta */ 
printf(&quot;The first 128 characters are:\n&quot;); 
for (i=0; i&lt;128; i++) 
putchar(buffer[i]); </PRE>
<PRE>/* restore previous dta */ 
setdta(save_dta); </PRE>
<PRE>return 0; 
} 
</PRE>
<PRE>函數名: <font size="5" color="#FF0000">randbwr </font>
功 能: 隨機塊寫 
用 法: int randbwr(struct fcp *fcbptr, int reccnt); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
char far *save_dta; 
char line[80]; 
char buffer[256] = &quot;RANDBWR test!&quot;; 
struct fcb blk; 
int result; </PRE>
<PRE>/* get new file name from user */ 
printf(&quot;Enter a file name to create (no path - ie. a:file.dat\n&quot;); 
gets(line); </PRE>
<PRE>/* parse the new file name to the dta */ 
parsfnm(line,&amp;blk,1); 
printf(&quot;Drive #%d File: %s\n&quot;, blk.fcb_drive, blk.fcb_name); </PRE>
<PRE>/* request DOS services to create file */ 
if (bdosptr(0x16, &amp;blk, 0) == -1) 
{ 
perror(&quot;Error creating file&quot;); 
exit(1); 
} </PRE>
<PRE>/* save old dta and set new dta */ 
save_dta = getdta(); 
setdta(buffer); </PRE>
<PRE>/* write new records */ 
blk.fcb_recsize = 256; 
blk.fcb_random = 0L; 
result = randbwr(&amp;blk, 1); </PRE>
<PRE>if (!result) 
printf(&quot;Write OK\n&quot;); 
else 
{ 
perror(&quot;Disk error&quot;); 
exit(1); 
} </PRE>
<PRE>/* request DOS services to close the file */ 
if (bdosptr(0x10, &amp;blk, 0) == -1) 
{ 
perror(&quot;Error closing file&quot;); 
exit(1); 
} </PRE>
<PRE>/* reset the old dta */ 
setdta(save_dta); </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">random </font>
功 能: 隨機數發生器 
用 法: int random(int num); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>/* prints a random number in the range 0 to 99 */ 
int main(void) 
{ 
randomize(); 
printf(&quot;Random number in the 0-99 range: %d\n&quot;, random (100)); 
return 0; 
} 

</PRE>
<PRE>函數名:<font size="5" color="#FF0000"> randomize </font>
功 能: 初始化隨機數發生器 
用 法: void randomize(void); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
int i; </PRE>
<PRE>randomize(); 
printf(&quot;Ten random numbers from 0 to 99\n\n&quot;); 
for(i=0; i&lt;10; i++) 
printf(&quot;%d\n&quot;, rand() % 100); 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">read </font>
功 能: 從文件中讀 
用 法: int read(int handle, void *buf, int nbyte); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
void *buf; 
int handle, bytes; </PRE>
<PRE>buf = malloc(10); </PRE>
<PRE>/* 
Looks for a file in the current directory named TEST.$$$ and attempts 
to read 10 bytes from it. To use this example you should create the 
file TEST.$$$ 
*/ 
if ((handle = 
open(&quot;TEST.$$$&quot;, O_RDONLY | O_BINARY, S_IWRITE | S_IREAD)) == -1) 
{ 
printf(&quot;Error Opening File\n&quot;); 
exit(1); 
} </PRE>
<PRE>if ((bytes = read(handle, buf, 10)) == -1) { 
printf(&quot;Read Failed.\n&quot;); 
exit(1); 
} 
else { 
printf(&quot;Read: %d bytes read.\n&quot;, bytes); 
} 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">realloc </font>
功 能: 重新分配主存 
用 法: void *realloc(void *ptr, unsigned newsize); 
程序例: </PRE>
<PRE>#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
char *str; </PRE>
<PRE>/* allocate memory for string */ 
str = malloc(10); </PRE>
<PRE>/* copy &quot;Hello&quot; into string */ 
strcpy(str, &quot;Hello&quot;); </PRE>
<PRE>printf(&quot;String is %s\n Address is %p\n&quot;, str, str); 
str = realloc(str, 20); 
printf(&quot;String is %s\n New address is %p\n&quot;, str, str); </PRE>
<PRE>/* free memory */ 
free(str); </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名:<font size="5" color="#FF0000"> rectangle </font>
功 能: 畫一個矩形 
用 法: void far rectangle(int left, int top, int right, int bottom); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int left, top, right, bottom; </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>left = getmaxx() / 2 - 50; 
top = getmaxy() / 2 - 50; 
right = getmaxx() / 2 + 50; 
bottom = getmaxy() / 2 + 50; </PRE>
<PRE>/* draw a rectangle */ 
rectangle(left,top,right,bottom); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">registerbgidriver</font> 
功 能: 登錄已連接進來的圖形驅動程序代碼 
用 法: int registerbgidriver(void(*driver)(void)); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; </PRE>
<PRE>/* register a driver that was added into graphics.lib */ 
errorcode = registerbgidriver(EGAVGA_driver); </PRE>
<PRE>/* report any registration errors */ 
if (errorcode &lt; 0) 
{ 
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>/* 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>/* draw a line */ 
line(0, 0, getmaxx(), getmaxy()); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">remove </font>
功 能: 刪除一個文件 
用 法: int remove(char *filename); 
程序例: </PRE>
<PRE>#include </PRE>
<PRE>int main(void) 
{ 
char file[80]; </PRE>
<PRE>/* prompt for file name to delete */ 
printf(&quot;File to delete: &quot;); 
gets(file); </PRE>
<PRE>/* delete the file */ 
if (remove(file) == 0) 
printf(&quot;Removed %s.\n&quot;,file); 
else 
perror(&quot;remove&quot;); </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">rename </font>
功 能: 重命名文件 
用 法: int rename(char *oldname, char *newname); 
程序例: </PRE>
<PRE>#include </PRE>
<PRE>int main(void) 
{ 
char oldname[80], newname[80]; </PRE>
<PRE>/* prompt for file to rename and new name */ 
printf(&quot;File to rename: &quot;); 
gets(oldname); 
printf(&quot;New name: &quot;); 
gets(newname); </PRE>
<PRE>/* Rename the file */ 
if (rename(oldname, newname) == 0) 
printf(&quot;Renamed %s to %s.\n&quot;, oldname, newname); 
else 
perror(&quot;rename&quot;); </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">restorecrtmode </font>
功 能: 將屏幕模式恢復為先前的imitgraph設置 
用 法: void far restorecrtmode(void); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>int main(void) 
{ 
/* request auto detection */ 
int gdriver = DETECT, gmode, errorcode; 
int x, y; </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>x = getmaxx() / 2; 
y = getmaxy() / 2; </PRE>
<PRE>/* output a message */ 
settextjustify(CENTER_TEXT, CENTER_TEXT); 
outtextxy(x, y, &quot;Press any key to exit graphics:&quot;); 
getch(); </PRE>
<PRE>/* restore system to text mode */ 
restorecrtmode(); 
printf(&quot;We're now in text mode.\n&quot;); 
printf(&quot;Press any key to return to graphics mode:&quot;); 
getch(); </PRE>
<PRE>/* return to graphics mode */ 
setgraphmode(getgraphmode()); </PRE>
<PRE>/* output a message */ 
settextjustify(CENTER_TEXT, CENTER_TEXT); 
outtextxy(x, y, &quot;We're back in graphics mode.&quot;); 
outtextxy(x, y+textheight(&quot;W&quot;), &quot;Press any key to halt:&quot;); </PRE>
<PRE>/* clean up */ 
getch(); 
closegraph(); 
return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">rewind </font>
功 能: 將文件指針重新指向一個流的開頭 
用 法: int rewind(FILE *stream); 
程序例: </PRE>
<PRE>#include 
#include </PRE>
<PRE>int main(void) 
{ 
FILE *fp; 
char *fname = &quot;TXXXXXX&quot;, *newname, first; </PRE>
<PRE>newname = mktemp(fname); 
fp = fopen(newname,&quot;w+&quot;); 
fprintf(fp,&quot;abcdefghijklmnopqrstuvwxyz&quot;); 
rewind(fp); 
fscanf(fp,&quot;%c&quot;,&amp;first); 
printf(&quot;The first character is: %c\n&quot;,first); 
fclose(fp); 
remove(newname); </PRE>
<PRE>return 0; 
} 

</PRE>
<PRE>函數名: <font size="5" color="#FF0000">rmdir </font>
功 能: 刪除DOS文件目錄 
用 法: int rmdir(char *stream); 
程序例: </PRE>
<PRE>#include 
#include 
#include 
#include </PRE>
<PRE>#define DIRNAME &quot;testdir.$$$&quot; </PRE>
<PRE>int main(void) 
{ 
int stat; </PRE>
<PRE>stat = mkdir(DIRNAME); 
if (!stat) 
printf(&quot;Directory created\n&quot;); 
else 
{ 
printf(&quot;Unable to create directory\n&quot;); 
exit(1); 
} </PRE>
<PRE>getch(); 
system(&quot;dir/p&quot;); 
getch(); </PRE>
<PRE>stat = rmdir(DIRNAME); 
if (!stat) 
printf(&quot;\nDirectory deleted\n&quot;); 
else 
{ 
perror(&quot;\nUnable to delete directory\n&quot;); 
exit(1); 
} </PRE>
<PRE>return 0; 
} 



</PRE>

<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>

</PRE>
<pre>資料收集:beck Copyright 2004 張求熙, All Rights Reserved</pre>
<pre><a href="mailto:Email:qiuxi1984@126.com">Email:qiuxi1984@126.com</a>     QQ:35540948 </pre>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品一区二区三区久久久久久| 看电视剧不卡顿的网站| 国产成人av影院| 国产日韩欧美精品综合| 国产一区免费电影| 久久九九影视网| 国产高清在线精品| 欧美国产激情二区三区| 91麻豆免费在线观看| 亚洲品质自拍视频| 欧美精品777| 久久99精品国产.久久久久 | 国产精品视频一二| 99视频一区二区| 香蕉成人伊视频在线观看| 日韩三级免费观看| 国产在线麻豆精品观看| 国产精品久久久久久久久图文区| 99久久免费精品高清特色大片| 亚洲精品久久久久久国产精华液| 欧美日韩午夜影院| 国产一区视频在线看| 中文字幕在线播放不卡一区| 欧美视频在线观看一区| 免费成人美女在线观看.| 久久久久久久性| 色狠狠桃花综合| 久久黄色级2电影| 国产精品人人做人人爽人人添| 欧美视频精品在线| 国产成人无遮挡在线视频| 一区二区在线看| 欧美成人激情免费网| av欧美精品.com| 日韩中文字幕91| 国产精品免费视频观看| 欧美男人的天堂一二区| 丁香网亚洲国际| 亚洲成av人片在www色猫咪| 国产日韩精品一区二区浪潮av| 91亚洲精品久久久蜜桃| 久草热8精品视频在线观看| 国产精品成人午夜| 精品少妇一区二区三区免费观看| 99re亚洲国产精品| 狠狠久久亚洲欧美| 亚洲一区免费观看| 中文一区在线播放| 欧美一区二区精品| 欧美综合一区二区三区| 粉嫩av一区二区三区在线播放 | 一区二区三区四区av| 久久久噜噜噜久久人人看| 日本高清不卡一区| 成人丝袜视频网| 秋霞午夜av一区二区三区| 一区二区三区欧美久久| 欧美国产禁国产网站cc| 欧美变态tickle挠乳网站| 欧美在线视频你懂得| 99久久精品情趣| 国产成人啪免费观看软件| 日韩av不卡在线观看| 亚洲亚洲人成综合网络| 中文字幕一区二区三区乱码在线| 久久人人爽人人爽| 欧美一区二区福利视频| 精品婷婷伊人一区三区三| 91在线丨porny丨国产| 丁香婷婷综合网| 国产乱码精品一区二区三| 久久精品国产免费| 麻豆精品久久精品色综合| 调教+趴+乳夹+国产+精品| 一区二区三区视频在线看| 亚洲天堂成人在线观看| 国产精品网站一区| 亚洲国产精品传媒在线观看| 久久久噜噜噜久久中文字幕色伊伊 | 成人午夜免费电影| 国产v综合v亚洲欧| caoporm超碰国产精品| 成人网在线播放| 99久久免费精品高清特色大片| 成人动漫一区二区三区| www.激情成人| 91色porny| 在线这里只有精品| 欧美日韩1区2区| 欧美一区二区视频在线观看 | www.在线成人| 99国产麻豆精品| 色婷婷激情久久| 精品1区2区3区| 91精品免费在线观看| 欧美成人a∨高清免费观看| 欧美精品一区二区久久婷婷| 久久亚洲欧美国产精品乐播| 亚洲国产精品成人久久综合一区| 中文字幕一区二区三区不卡在线| 亚洲日本一区二区| 午夜久久久久久| 久久99久国产精品黄毛片色诱| 国产一区二区三区高清播放| 成人深夜在线观看| 日本高清免费不卡视频| 日韩欧美一区在线| 久久精品一区二区三区av| 国产精品久久久久婷婷二区次 | 亚洲人精品午夜| 亚洲综合精品自拍| 精品一区二区日韩| 99久久夜色精品国产网站| 欧美色精品天天在线观看视频| 日韩亚洲欧美成人一区| 欧美激情一区二区三区全黄| 亚洲综合在线五月| 狠狠色综合播放一区二区| av不卡免费电影| 欧美一区二区啪啪| 最新成人av在线| 免费不卡在线观看| 91一区在线观看| 日韩欧美亚洲国产精品字幕久久久| 国产精品久久久久久妇女6080| 午夜精品免费在线| 国产精品一二三四| 欧美精品v国产精品v日韩精品| 国产色产综合色产在线视频| 亚洲成人资源在线| 成人一级黄色片| 日韩欧美的一区| 亚洲精品久久久蜜桃| 国产成人在线免费| 欧美一区二区网站| 亚洲一区视频在线观看视频| 国产成人精品一区二| 日韩视频免费观看高清完整版| 亚洲欧美日韩久久| 国产精品亚洲第一区在线暖暖韩国| 欧美视频一区二区三区四区| 亚洲国产精品成人综合| 久久成人久久爱| 欧美日韩三级在线| 亚洲人午夜精品天堂一二香蕉| 国产高清久久久| 欧美电影免费观看高清完整版在线观看| 亚洲精品中文在线观看| 国产.欧美.日韩| 精品国产欧美一区二区| 视频一区免费在线观看| 91久久精品一区二区二区| 亚洲欧洲美洲综合色网| 国产精品亚洲成人| 日韩精品自拍偷拍| 日本在线不卡一区| 欧美日精品一区视频| 一个色妞综合视频在线观看| 不卡区在线中文字幕| 国产欧美一区视频| 国产成人亚洲精品青草天美| 欧美mv日韩mv亚洲| 美女网站色91| 欧美一区二区三区成人| 蜜臀av一区二区在线免费观看| 欧美巨大另类极品videosbest | 免费成人av资源网| 欧美一区二区在线看| 日本亚洲最大的色成网站www| 欧洲视频一区二区| 亚洲二区在线视频| 欧美日韩色一区| 日韩国产精品大片| 91麻豆精品久久久久蜜臀| 日本怡春院一区二区| 日韩久久精品一区| 国产乱子伦视频一区二区三区| 精品美女一区二区| 激情综合色播五月| 久久久久亚洲蜜桃| 国产成a人亚洲精| 国产精品久久久久久妇女6080| 99精品在线免费| 一区二区三区在线视频播放| 欧美日韩在线一区二区| 麻豆精品一二三| 国产欧美日韩在线观看| fc2成人免费人成在线观看播放| 亚洲特黄一级片| 欧美美女一区二区三区| 日本免费在线视频不卡一不卡二| 精品国产自在久精品国产| 懂色av一区二区三区蜜臀| 一区二区三区精品在线观看| 欧美人体做爰大胆视频| 精品一区二区三区在线播放| 国产女主播一区| 欧美在线视频全部完| 美国三级日本三级久久99 | av电影天堂一区二区在线观看|