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

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

?? 1.txt

?? A.執行SPLIB B.執行SPDOS C.裝載拼音模塊D.裝載五筆字型輸入模塊32.在漢字輸入狀態下
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
midx = getmaxx() / 2; 
midy = getmaxy() / 2; 
setcolor(getmaxcolor()); 

/* draw ellipse */ 
ellipse(midx, midy, stangle, endangle, 
xradius, yradius); 

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



函數名: enable 
功 能: 開放硬件中斷 
用 法: void enable(void); 
程序例: 

/* ** NOTE: 
This is an interrupt service routine. You can NOT compile this program 
with Test Stack Overflow turned on and get an executable file which will 
operate correctly. 
*/ 

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

/* The clock tick interrupt */ 
#define INTR 0X1C 

void interrupt ( *oldhandler)(void); 

int count=0; 

void interrupt handler(void) 
{ 
/* 
disable interrupts during the handling of the interrupt 
*/ 
disable(); 
/* increase the global counter */ 
count++; 
/* 
re enable interrupts at the end of the handler 
*/ 
enable(); 
/* call the old routine */ 
oldhandler(); 
} 

int main(void) 
{ 
/* save the old interrupt vector */ 
oldhandler = getvect(INTR); 

/* install the new interrupt handler */ 
setvect(INTR, handler); 

/* loop until the counter exceeds 20 */ 
while (count < 20) 
printf("count is %d\n",count); 

/* reset the old interrupt handler */ 
setvect(INTR, oldhandler); 

return 0; 
} 



函數名: eof 
功 能: 檢測文件結束 
用 法: int eof(int *handle); 
程序例: 

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

int main(void) 
{ 
int handle; 
char msg[] = "This is a test"; 
char ch; 

/* create a file */ 
handle = open("DUMMY.FIL", 
O_CREAT | O_RDWR, 
S_IREAD | S_IWRITE); 

/* write some data to the file */ 
write(handle, msg, strlen(msg)); 

/* seek to the beginning of the file */ 
lseek(handle, 0L, SEEK_SET); 

/* 
reads chars from the file until hit EOF 
*/ 
do 
{ 
read(handle, &ch, 1); 
printf("%c", ch); 
} while (!eof(handle)); 

close(handle); 
return 0; 
} 



函數名: exec... 
功 能: 裝入并運行其它程序的函數 
用 法: int execl(char *pathname, char *arg0, arg1, ..., argn, NULL); 
int execle(char *pathname, char *arg0, arg1, ..., argn, NULL, 
char *envp[]); 
int execlp(char *pathname, char *arg0, arg1, .., NULL); 
int execple(char *pathname, char *arg0, arg1, ..., NULL, 
char *envp[]); 
int execv(char *pathname, char *argv[]); 
int execve(char *pathname, char *argv[], char *envp[]); 
int execvp(char *pathname, char *argv[]); 
int execvpe(char *pathname, char *argv[], char *envp[]); 
程序例: 

/* execv example */ 
#include <process.h> 
#include <stdio.h> 
#include <errno.h> 

void main(int argc, char *argv[]) 
{ 
int i; 

printf("Command line arguments:\n"); 
for (i=0; i<argc; i++) 
printf("[%2d] : %s\n", i, argv[i]); 

printf("About to exec child with arg1 arg2 ...\n"); 
execv("CHILD.EXE", argv); 

perror("exec error"); 

exit(1); 
} 



函數名: exit 
功 能: 終止程序 
用 法: void exit(int status); 
程序例: 

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

int main(void) 
{ 
int status; 

printf("Enter either 1 or 2\n"); 
status = getch(); 
/* Sets DOS errorlevel */ 
exit(status - '0'); 

/* Note: this line is never reached */ 
return 0; 
} 



函數名: exp 
功 能: 指數函數 
用 法: double exp(double x); 
程序例: 

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

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

result = exp(x); 
printf("'e' raised to the power \ 
of %lf (e ^ %lf) = %lf\n", 
x, x, result); 

return 0; 
}  

--------------------------------------------------------------------------------
 

 
 
C語言庫函數(F類字母) 
AiY.CN 收集整理 (2001-07-27 15:00:00) 
函數名: fabs 
功 能: 返回浮點數的絕對值 
用 法: double fabs(double x); 
程序例: 
#include <stdio.h> 
#include <math.h> 

int main(void) 
{ 
float number = -1234.0; 

printf("number: %f absolute value: %f\n", 
number, fabs(number)); 
return 0; 
} 




函數名: farcalloc 
功 能: 從遠堆棧中申請空間 
用 法: void far *farcalloc(unsigned long units, unsigned ling unitsz); 
程序例: 
#include <stdio.h> 
#include <alloc.h> 
#include <string.h> 
#include <dos.h> 

int main(void) 
{ 
char far *fptr; 
char *str = "Hello"; 

/* allocate memory for the far pointer */ 
fptr = farcalloc(10, sizeof(char)); 

/* copy "Hello" into allocated memory */ 
/* 
Note: movedata is used because you 
might be in a small data model, in 
which case a normal string copy routine 
can not be used since it assumes the 
pointer size is near. 
*/ 
movedata(FP_SEG(str), FP_OFF(str), 
FP_SEG(fptr), FP_OFF(fptr), 
strlen(str)); 

/* display string (note the F modifier) */ 
printf("Far string is: %Fs\n", fptr); 

/* free the memory */ 
farfree(fptr); 

return 0; 
} 




函數名: farcoreleft 
功 能: 返回遠堆中未作用存儲區大小 
用 法: long farcoreleft(void); 
程序例: 

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

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

return 0; 
} 




函數名: farfree 
功 能: 從遠堆中釋放一塊 
用 法: void farfree(void); 
程序例: 

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

int main(void) 
{ 
char far *fptr; 
char *str = "Hello"; 

/* allocate memory for the far pointer */ 
fptr = farcalloc(10, sizeof(char)); 

/* copy "Hello" into allocated memory */ 
/* 
Note: movedata is used because you might be in a small data model, 
in which case a normal string copy routine can't be used since it 
assumes the pointer size is near. 
*/ 
movedata(FP_SEG(str), FP_OFF(str), 
FP_SEG(fptr), FP_OFF(fptr), 
strlen(str)); 

/* display string (note the F modifier) */ 
printf("Far string is: %Fs\n", fptr); 

/* free the memory */ 
farfree(fptr); 

return 0; 
} 




函數名: farmalloc 
功 能: 從遠堆中分配存儲塊 
用 法: void far *farmalloc(unsigned long size); 
程序例: 

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

int main(void) 
{ 
char far *fptr; 
char *str = "Hello"; 

/* allocate memory for the far pointer */ 
fptr = farmalloc(10); 

/* copy "Hello" into allocated memory */ 
/* 
Note: movedata is used because we might 
be in a small data model, in which case 
a normal string copy routine can not be 
used since it assumes the pointer size 
is near. 
*/ 
movedata(FP_SEG(str), FP_OFF(str), 
FP_SEG(fptr), FP_OFF(fptr), 
strlen(str)); 

/* display string (note the F modifier) */ 
printf("Far string is: %Fs\n", fptr); 

/* free the memory */ 
farfree(fptr); 

return 0; 
} 




函數名: farrealloc 
功 能: 調整遠堆中的分配塊 
用 法: void far *farrealloc(void far *block, unsigned long newsize); 
程序例: 

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

int main(void) 
{ 
char far *fptr; 

fptr = farmalloc(10); 
printf("First address: %Fp\n", fptr); 
fptr = farrealloc(fptr,20); 
printf("New address : %Fp\n", fptr); 
farfree(fptr); 
return 0; 
} 



函數名: fclose 
功 能: 關閉一個流 
用 法: int fclose(FILE *stream); 
程序例: 

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

int main(void) 
{ 
FILE *fp; 
char buf[11] = "0123456789"; 

/* create a file containing 10 bytes */ 
fp = fopen("DUMMY.FIL", "w"); 
fwrite(&buf, strlen(buf), 1, fp); 

/* close the file */ 
fclose(fp); 
return 0; 
} 




函數名: fcloseall 
功 能: 關閉打開流 
用 法: int fcloseall(void); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
int streams_closed; 

/* open two streams */ 
fopen("DUMMY.ONE", "w"); 
fopen("DUMMY.TWO", "w"); 

/* close the open streams */ 
streams_closed = fcloseall(); 

if (streams_closed == EOF) 
/* issue an error message */ 
perror("Error"); 
else 
/* print result of fcloseall() function */ 
printf("%d streams were closed.\n", streams_closed); 

return 0; 
} 



函數名: fcvt 
功 能: 把一個浮點數轉換為字符串 
用 法: char *fcvt(double value, int ndigit, int *decpt, int *sign); 
程序例: 

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

int main(void) 
{ 
char *string; 
double value; 
int dec, sign; 
int ndig = 10; 

clrscr(); 
value = 9.876; 
string = ecvt(value, ndig, &dec, &sign); 
printf("string = %s dec = %d \ 
sign = %d\n", string, dec, sign); 

value = -123.45; 
ndig= 15; 
string = ecvt(value,ndig,&dec,&sign); 
printf("string = %s dec = %d sign = %d\n", 
string, dec, sign); 


value = 0.6789e5; /* scientific 
notation */ 
ndig = 5; 
string = ecvt(value,ndig,&dec,&sign); 
printf("string = %s dec = %d\ 
sign = %d\n", string, dec, sign); 

return 0; 
} 




函數名: fdopen 
功 能: 把流與一個文件句柄相接 
用 法: FILE *fdopen(int handle, char *type); 
程序例: 

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

int main(void) 
{ 
int handle; 
FILE *stream; 

/* open a file */ 
handle = open("DUMMY.FIL", O_CREAT, 
S_IREAD | S_IWRITE); 

/* now turn the handle into a stream */ 
stream = fdopen(handle, "w"); 

if (stream == NULL) 
printf("fdopen failed\n"); 
else 
{ 
fprintf(stream, "Hello world\n"); 
fclose(stream); 
} 
return 0; 
} 



函數名: feof 
功 能: 檢測流上的文件結束符 
用 法: int feof(FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
FILE *stream; 

/* open a file for reading */ 
stream = fopen("DUMMY.FIL", "r"); 

/* read a character from the file */ 
fgetc(stream); 

/* check for EOF */ 
if (feof(stream)) 
printf("We have reached end-of-file\n"); 

/* close the file */ 
fclose(stream); 
return 0; 
} 



函數名: ferror 
功 能: 檢測流上的錯誤 
用 法: int ferror(FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
FILE *stream; 

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

/* force an error condition by attempting to read */ 
(void) getc(stream); 

if (ferror(stream)) /* test for an error on the stream */ 
{ 
/* display an error message */ 
printf("Error reading from DUMMY.FIL\n"); 

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

fclose(stream); 
return 0; 
} 




函數名: fflush 
功 能: 清除一個流 
用 法: int fflush(FILE *stream); 
程序例: 

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

void flush(FILE *stream); 

int main(void) 
{ 
FILE *stream; 
char msg[] = "This is a test"; 

/* create a file */ 
stream = fopen("DUMMY.FIL", "w"); 

/* write some data to the file */ 
fwrite(msg, strlen(msg), 1, stream); 

clrscr(); 
printf("Press any key to flush\ 
DUMMY.FIL:"); 
getch(); 

/* flush the data to DUMMY.FIL without\ 
closing it */ 
flush(stream); 

printf("\nFile was flushed, Press any key\ 
to quit:"); 
getch(); 
return 0; 
} 

void flush(FILE *stream) 
{ 
int duphandle; 

/* flush the stream's internal buffer */ 
fflush(stream); 

/* make a duplicate file handle */ 
duphandle = dup(fileno(stream)); 

/* close the duplicate handle to flush\ 
the DOS buffer */ 
close(duphandle); 
} 




函數名: fgetc 
功 能: 從流中讀取字符 
用 法: int fgetc(FILE *stream); 
程序例: 

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

int main(void) 
{ 
FILE *stream; 
char string[] = "This is a test"; 
char ch; 

/* open a file for update */ 
stream = fopen("DUMMY.FIL", "w+"); 

/* write a string into the file */ 
fwrite(string, strlen(string), 1, stream); 

/* seek to the beginning of the file */ 
fseek(stream, 0, SEEK_SET); 

do 
{ 
/* read a char from the file */ 
ch = fgetc(stream); 

/* display the character */ 
putch(ch); 
} while (ch != EOF); 

fclose(stream); 
return 0; 
} 




函數名: fgetchar 
功 能: 從流中讀取字符 
用 法: int fgetchar(void); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
char ch; 

/* prompt the user for input */ 
printf("Enter a character followed by \ 
<Enter>: "); 

/* read the character from stdin */ 
ch = fgetchar(); 

/* display what was read */ 
printf("The character read is: '%c'\n", 
ch); 
return 0; 
} 




函數名: fgetpos 
功 能: 取得當前文件的句柄 
用 法: int fgetpos(FILE *stream); 
程序例: 

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

int main(void) 
{ 
FILE *stream; 
char string[] = "This is a test"; 
fpos_t filepos; 

/* open a file for update */ 
stream = fopen("DUMMY.FIL", "w+"); 

/* write a string into the file */ 
fwrite(string, strlen(string), 1, stream); 

/* report the file pointer position */ 
fgetpos(stream, &filepos); 
printf("The file pointer is at byte\ 
%ld\n", filepos); 

fclose(stream); 
return 0; 
} 




函數名: fgets 
功 能: 從流中讀取一字符串 
用 法: char *fgets(char *string, int n, FILE *stream); 
程序例: 

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

int main(void) 
{ 
FILE *stream; 
char string[] = "This is a test"; 
char msg[20]; 

/* open a file for update */ 
stream = fopen("DUMMY.FIL", "w+"); 

/* write a string into the file */ 
fwrite(string, strlen(string), 1, stream); 

/* seek to the start of the file */ 
fseek(stream, 0, SEEK_SET); 

/* read a string from the file */ 
fgets(msg, strlen(string)+1, stream); 

/* display the string */ 
printf("%s", msg); 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情欧美一区二区三区在线观看| 欧美综合色免费| 91福利在线免费观看| 久久综合九色欧美综合狠狠| 一二三区精品视频| 99精品视频在线观看免费| 日韩久久久精品| 亚洲va国产天堂va久久en| aaa国产一区| 中文字幕不卡三区| 国产精品一色哟哟哟| 日韩一二三四区| 午夜精品久久久久久不卡8050| 99久久夜色精品国产网站| 国产日产欧美一区二区三区| 美女在线视频一区| 日韩午夜三级在线| 日韩国产在线一| 69堂国产成人免费视频| 亚洲激情校园春色| 色综合久久中文综合久久牛| 国产精品久久久久永久免费观看| 国产综合久久久久影院| 精品国产免费久久| 激情国产一区二区| 精品美女一区二区三区| 免费视频最近日韩| 9191久久久久久久久久久| 亚洲午夜免费福利视频| 色视频成人在线观看免| 亚洲制服丝袜在线| 欧美性猛交xxxxxx富婆| 午夜电影一区二区| 欧美精品成人一区二区三区四区| 一区二区三区在线观看网站| 色综合久久久久久久久| 一区二区三区免费| 欧美日韩视频在线一区二区| 图片区小说区国产精品视频| 制服丝袜亚洲精品中文字幕| 免费精品视频在线| 久久亚洲综合色| 国产成人精品免费在线| 国产精品女同互慰在线看| 99精品视频一区二区| 亚洲一区二区三区四区在线观看| 欧美丝袜自拍制服另类| 美女在线视频一区| 国产欧美视频在线观看| 成人黄色小视频| 亚洲激情五月婷婷| 3d动漫精品啪啪| 国产精品1区2区3区在线观看| 国产日韩三级在线| 色欧美乱欧美15图片| 五月天精品一区二区三区| 日韩欧美电影一二三| 岛国精品一区二区| 亚洲午夜久久久久久久久电影网| 欧美日韩视频在线观看一区二区三区| 日韩精品五月天| 中文子幕无线码一区tr| 精品污污网站免费看| 国模一区二区三区白浆| 亚洲精品亚洲人成人网在线播放| 91麻豆精品国产自产在线| 国产福利精品导航| 五月天亚洲婷婷| 国产女同互慰高潮91漫画| 欧美在线观看视频一区二区三区| 免费观看91视频大全| 成人欧美一区二区三区白人| 7777精品伊人久久久大香线蕉| 国产精品99精品久久免费| 亚洲成av人影院在线观看网| 久久免费精品国产久精品久久久久 | 国产另类ts人妖一区二区| 一区二区三区加勒比av| 久久久亚洲国产美女国产盗摄| 色悠久久久久综合欧美99| 激情欧美一区二区| 亚洲国产成人高清精品| 国产精品国产自产拍高清av| 日韩欧美国产综合在线一区二区三区| 99久久精品99国产精品| 韩国成人福利片在线播放| 亚洲成av人片一区二区| 亚洲色图视频网| 欧美精品一区二区三区久久久| 欧美午夜一区二区三区| 成人不卡免费av| 国产成人在线观看免费网站| 久久66热偷产精品| 热久久久久久久| 性感美女极品91精品| 亚洲男人天堂av| 亚洲欧洲日韩av| 国产精品色哟哟| 国产亚洲欧美在线| 26uuu色噜噜精品一区二区| 欧美日韩日日夜夜| 欧美亚一区二区| 91丨porny丨在线| 91在线看国产| 成人高清伦理免费影院在线观看| 国产乱人伦精品一区二区在线观看| 免费成人你懂的| 美女网站一区二区| 日本欧美在线观看| 五月激情六月综合| 日韩二区三区在线观看| 午夜精品久久一牛影视| 午夜精品福利在线| 午夜av区久久| 日本不卡高清视频| 蜜臀va亚洲va欧美va天堂 | 91精品国产综合久久国产大片| 欧美综合色免费| 欧美日韩黄视频| 在线成人免费视频| 日韩欧美激情一区| 欧美精品一区二区蜜臀亚洲| 欧美精品一区二区在线播放| 久久久久综合网| 国产精品久久久久三级| 一区二区三区在线视频观看58| 亚洲靠逼com| 偷拍日韩校园综合在线| 日韩av二区在线播放| 狠狠狠色丁香婷婷综合久久五月| 国产成人精品免费| 99re热视频精品| 欧美日韩电影在线播放| 日韩色在线观看| 国产精品日韩精品欧美在线| 中文字幕一区二区三区在线播放 | 国产一区二区主播在线| 国产91精品免费| 91行情网站电视在线观看高清版| 欧美亚洲另类激情小说| 日韩一区二区精品在线观看| 日韩avvvv在线播放| 亚洲美女区一区| 日韩av不卡在线观看| 国产精品一区二区久久精品爱涩| www.爱久久.com| 欧美日韩国产高清一区二区三区| 中文字幕中文乱码欧美一区二区| 国产精品国产三级国产aⅴ入口 | 欧美日韩国产首页| 精品伦理精品一区| 一区二区三区四区精品在线视频| 日本不卡的三区四区五区| 成人教育av在线| 日韩精品综合一本久道在线视频| 国产精品久久久久久福利一牛影视 | 最新日韩在线视频| 蜜臂av日日欢夜夜爽一区| 99视频在线观看一区三区| 日韩欧美黄色影院| 玉足女爽爽91| 国产成人综合精品三级| 在线成人av网站| 中文字幕日韩精品一区| 久久99深爱久久99精品| 欧美午夜精品理论片a级按摩| 欧美精品一区二区高清在线观看| 亚洲精品国产a| 成人免费视频国产在线观看| 日韩欧美国产一二三区| 一区二区欧美视频| 99久久精品费精品国产一区二区| 精品国产乱码久久久久久夜甘婷婷| 亚洲影院在线观看| 99这里只有精品| 国产农村妇女精品| 精品一区二区三区在线视频| 欧美日韩亚洲综合在线 | 水野朝阳av一区二区三区| 99这里只有久久精品视频| 国产色产综合产在线视频| 激情五月播播久久久精品| 在线播放日韩导航| 亚洲va韩国va欧美va| 欧亚洲嫩模精品一区三区| 亚洲丝袜精品丝袜在线| 波多野结衣中文字幕一区| 2020国产精品自拍| 久久激情五月婷婷| 日韩欧美电影一区| 日本女优在线视频一区二区| 欧美日韩一区二区电影| 亚洲综合无码一区二区| 色妹子一区二区| 亚洲女性喷水在线观看一区| www.亚洲精品| 亚洲欧美日韩国产手机在线 | 国产成人av电影在线观看| 久久综合久久综合九色| 国产精品夜夜嗨|