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

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

?? 1.txt

?? A.執行SPLIB B.執行SPDOS C.裝載拼音模塊D.裝載五筆字型輸入模塊32.在漢字輸入狀態下
?? TXT
?? 第 1 頁 / 共 5 頁
字號:

fclose(stream); 
return 0; 
} 




函數名: filelength 
功 能: 取文件長度字節數 
用 法: long filelength(int handle); 
程序例: 

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

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

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

/* display the size of the file */ 
printf("file length in bytes: %ld\n", 
filelength(handle)); 

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



函數名: fillellipse 
功 能: 畫出并填充一橢圓 
用 法: void far fillellipse(int x, int y, int xradius, int yradius); 
程序例: 

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

int main(void) 
{ 
int gdriver = DETECT, gmode; 
int xcenter, ycenter, i; 

initgraph(&gdriver,&gmode,""); 
xcenter = getmaxx() / 2; 
ycenter = getmaxy() / 2; 

for (i=0; i<13; i++) 
{ 
setfillstyle(i,WHITE); 
fillellipse(xcenter,ycenter,100,50); 
getch(); 
} 

closegraph(); 
return 0; 
} 
函數名: fillpoly 
功 能: 畫并填充一個多邊形 
用 法: void far fillpoly(int numpoints, int far *polypoints); 
程序例: 

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

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

/* our polygon array */ 
int poly[8]; 

/* initialize graphics, 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 */ 
} 

maxx = getmaxx(); 
maxy = getmaxy(); 

poly[0] = 20; /* 1st vertext */ 
poly[1] = maxy / 2; 

poly[2] = maxx - 20; /* 2nd */ 
poly[3] = 20; 

poly[4] = maxx - 50; /* 3rd */ 
poly[5] = maxy - 20; 

/* 
4th vertex. fillpoly automatically 
closes the polygon. 
*/ 
poly[6] = maxx / 2; 
poly[7] = maxy / 2; 

/* loop through the fill patterns */ 
for (i=EMPTY_FILL; i<USER_FILL; i++) 
{ 
/* set fill pattern */ 
setfillstyle(i, getmaxcolor()); 

/* draw a filled polygon */ 
fillpoly(4, poly); 

getch(); 
} 

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




函數名: findfirst, findnext 
功 能: 搜索磁盤目錄; 取得下一個匹配的findfirst模式的文件 
用 法: int findfirst(char *pathname, struct ffblk *ffblk, int attrib); 
int findnext(struct ffblk *ffblk); 
程序例: 

/* findnext example */ 

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

int main(void) 
{ 
struct ffblk ffblk; 
int done; 
printf("Directory listing of *.*\n"); 
done = findfirst("*.*",&ffblk,0); 
while (!done) 
{ 
printf(" %s\n", ffblk.ff_name); 
done = findnext(&ffblk); 
} 

return 0; 
} 




函數名: floodfill 
功 能: 填充一個有界區域 
用 法: void far floodfill(int x, int y, int border); 
程序例: 

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

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

/* initialize graphics, 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 */ 
} 

maxx = getmaxx(); 
maxy = getmaxy(); 

/* select drawing color */ 
setcolor(getmaxcolor()); 

/* select fill color */ 
setfillstyle(SOLID_FILL, getmaxcolor()); 

/* draw a border around the screen */ 
rectangle(0, 0, maxx, maxy); 

/* draw some circles */ 
circle(maxx / 3, maxy /2, 50); 
circle(maxx / 2, 20, 100); 
circle(maxx-20, maxy-50, 75); 
circle(20, maxy-20, 25); 

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

/* fill in bounded region */ 
floodfill(2, 2, getmaxcolor()); 

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




函數名: floor 
功 能: 向下舍入 
用 法: double floor(double x); 
程序例: 

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

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

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

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

return 0; 
} 




函數名: flushall 
功 能: 清除所有緩沖區 
用 法: int flushall(void); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
FILE *stream; 

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

/* flush all open streams */ 
printf("%d streams were flushed.\n", 
flushall()); 

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




函數名: fmod 
功 能: 計算x對y的模, 即x/y的余數 
用 法: double fmod(double x, double y); 
程序例: 

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

int main(void) 
{ 
double x = 5.0, y = 2.0; 
double result; 

result = fmod(x,y); 
printf("The remainder of (%lf / %lf) is \ 
%lf\n", x, y, result); 
return 0; 
} 




函數名: fnmerge 
功 能: 建立新文件名 
用 法: void fnerge(char *path, char *drive, char *dir); 
程序例: 

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


int main(void) 
{ 
char s[MAXPATH]; 
char drive[MAXDRIVE]; 
char dir[MAXDIR]; 
char file[MAXFILE]; 
char ext[MAXEXT]; 

getcwd(s,MAXPATH); /* get the current working directory */ 
strcat(s,"\\"); /* append on a trailing \ character */ 
fnsplit(s,drive,dir,file,ext); /* split the string to separate elems */ 
strcpy(file,"DATA"); 
strcpy(ext,".TXT"); 
fnmerge(s,drive,dir,file,ext); /* merge everything into one string */ 
puts(s); /* display resulting string */ 

return 0; 
} 




函數名: fopen 
功 能: 打開一個流 
用 法: FILE *fopen(char *filename, char *type); 
程序例: 

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

int main(void) 
{ 
char *s; 
char drive[MAXDRIVE]; 
char dir[MAXDIR]; 
char file[MAXFILE]; 
char ext[MAXEXT]; 
int flags; 

s=getenv("COMSPEC"); /* get the comspec environment parameter */ 
flags=fnsplit(s,drive,dir,file,ext); 

printf("Command processor info:\n"); 
if(flags & DRIVE) 
printf("\tdrive: %s\n",drive); 
if(flags & DIRECTORY) 
printf("\tdirectory: %s\n",dir); 
if(flags & FILENAME) 
printf("\tfile: %s\n",file); 
if(flags & EXTENSION) 
printf("\textension: %s\n",ext); 

return 0; 
} 


函數名: fprintf 
功 能: 傳送格式化輸出到一個流中 
用 法: int fprintf(FILE *stream, char *format[, argument,...]); 
程序例: 

/* Program to create backup of the 
AUTOEXEC.BAT file */ 

#include <stdio.h> 

int main(void) 
{ 
FILE *in, *out; 

if ((in = fopen("\\AUTOEXEC.BAT", "rt")) 
== NULL) 
{ 
fprintf(stderr, "Cannot open input \ 
file.\n"); 
return 1; 
} 

if ((out = fopen("\\AUTOEXEC.BAK", "wt")) 
== NULL) 
{ 
fprintf(stderr, "Cannot open output \ 
file.\n"); 
return 1; 
} 

while (!feof(in)) 
fputc(fgetc(in), out); 

fclose(in); 
fclose(out); 
return 0; 
} 




函數名: FP_OFF 
功 能: 獲取遠地址偏移量 
用 法: unsigned FP_OFF(void far *farptr); 
程序例: 

/* FP_OFF */ 

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

int main(void) 
{ 
char *str = "fpoff.c"; 

printf("The offset of this file in memory\ 
is: %Fp\n", FP_OFF(str)); 

return 0; 
} 



函數名: FP_SEG 
功 能: 獲取遠地址段值 
用 法: unsigned FP_SEG(void far *farptr); 
程序例: 

/* FP_SEG */ 

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

int main(void) 
{ 
char *filename = "fpseg.c"; 

printf("The offset of this file in memory\ 
is: %Fp\n", FP_SEG(filename)); 

return(0); 
} 




函數名: fputc 
功 能: 送一個字符到一個流中 
用 法: int fputc(int ch, FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
char msg[] = "Hello world"; 
int i = 0; 

while (msg[i]) 
{ 
fputc(msg[i], stdout); 
i++; 
} 
return 0; 
} 




函數名: fputchar 
功 能: 送一個字符到標準輸出流(stdout)中 
用 法: int fputchar(char ch); 
程序例: 

#include <stdio.h> 

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

while (msg[i]) 
{ 
fputchar(msg[i]); 
i++; 
} 
return 0; 
} 




函數名: fputs 
功 能: 送一個字符到一個流中 
用 法: int fputs(char *string, FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
/* write a string to standard output */ 
fputs("Hello world\n", stdout); 

return 0; 
} 




函數名: fread 
功 能: 從一個流中讀數據 
用 法: int fread(void *ptr, int size, int nitems, FILE *stream); 
程序例: 

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

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

if ((stream = fopen("DUMMY.FIL", "w+")) 
== NULL) 
{ 
fprintf(stderr, 
"Cannot open output file.\n"); 
return 1; 
} 

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

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

/* read the data and display it */ 
fread(buf, strlen(msg)+1, 1, stream); 
printf("%s\n", buf); 

fclose(stream); 
return 0; 
} 



函數名: free 
功 能: 釋放已分配的塊 
用 法: void free(void *ptr); 
程序例: 

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

int main(void) 
{ 
char *str; 

/* allocate memory for string */ 
str = malloc(10); 

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

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

/* free memory */ 
free(str); 

return 0; 
} 


函數名: freemem 
功 能: 釋放先前分配的DOS內存塊 
用 法: int freemem(unsigned seg); 
程序例: 

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

int main(void) 
{ 
unsigned int size, segp; 
int stat; 

size = 64; /* (64 x 16) = 1024 bytes */ 
stat = allocmem(size, &segp); 
if (stat < 0) 
printf("Allocated memory at segment:\ 
%x\n", segp); 
else 
printf("Failed: maximum number of\ 
paragraphs available is %u\n", 
stat); 
freemem(segp); 

return 0; 
} 



函數名: freopen 
功 能: 替換一個流 
用 法: FILE *freopen(char *filename, char *type, FILE *stream); 
程序例: 

#include <stdio.h> 

int main(void) 
{ 
/* redirect standard output to a file */ 
if (freopen("OUTPUT.FIL", "w", stdout) 
== NULL) 
fprintf(stderr, "error redirecting\ 
stdout\n"); 

/* this output will go to a file */ 
printf("This will go into a file."); 

/* close the standard output stream */ 
fclose(stdout); 

return 0; 
} 




函數名: frexp 
功 能: 把一個雙精度數分解為尾數的指數 
用 法: double frexp(double value, int *eptr); 
程序例: 

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

int main(void) 
{ 
double mantissa, number; 
int exponent; 

number = 8.0; 
mantissa = frexp(number, &exponent); 

printf("The number %lf is ", number); 
printf("%lf times two to the ", mantissa); 
printf("power of %d\n", exponent); 

return 0; 
} 



函數名: fscanf 
功 能: 從一個流中執行格式化輸入 
用 法: int fscanf(FILE *stream, char *format[,argument...]); 
程序例: 

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

int main(void) 
{ 
int i; 

printf("Input an integer: "); 

/* read an integer from the 
standard input stream */ 
if (fscanf(stdin, "%d", &i)) 
printf("The integer read was: %i\n", 
i); 
else 
{ 
fprintf(stderr, "Error reading an \ 
integer from stdin.\n"); 
exit(1); 
} 
return 0; 
} 




函數名: fseek 
功 能: 重定位流上的文件指針 
用 法: int fseek(FILE *stream, long offset, int fromwhere); 
程序例: 

#include <stdio.h> 

long filesize(FILE *stream); 

int main(void) 
{ 
FILE *stream; 

stream = fopen("MYFILE.TXT", "w+"); 
fprintf(stream, "This is a test"); 
printf("Filesize of MYFILE.TXT is %ld bytes\n", filesize(stream)); 
fclose(stream); 
return 0; 
} 

long filesize(FILE *stream) 
{ 
long curpos, length; 

curpos = ftell(stream); 
fseek(stream, 0L, SEEK_END); 
length = ftell(stream); 
fseek(stream, curpos, SEEK_SET); 
return length; 
} 






函數名: fsetpos 
功 能: 定位流上的文件指針 
用 法: int fsetpos(FILE *stream, const fpos_t *pos); 
程序例: 

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

void showpos(FILE *stream); 

int main(void) 
{ 
FILE *stream; 
fpos_t filepos; 

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

/* save the file pointer position */ 
fgetpos(stream, &filepos); 

/* write some data to the file */ 
fprintf(stream, 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产乱码精品一区二区三区忘忧草 | 性做久久久久久| 欧美福利电影网| 丁香激情综合国产| 日韩va欧美va亚洲va久久| 欧美高清在线一区二区| 欧美另类一区二区三区| 成人99免费视频| 日韩高清在线电影| 成人欧美一区二区三区| 久久综合久久综合久久| 欧美三级电影在线观看| 不卡一区中文字幕| 国产精品一品视频| 久久精品国产精品亚洲综合| 一区二区三区产品免费精品久久75| 在线综合+亚洲+欧美中文字幕| 成人综合在线观看| 九九九久久久精品| 日韩电影免费在线看| 亚洲乱码国产乱码精品精的特点 | 国产一区高清在线| 日韩在线播放一区二区| 亚洲欧美日韩在线播放| 国产欧美日本一区视频| 精品久久久久久久久久久院品网| 91免费版pro下载短视频| 国产一区啦啦啦在线观看| 蜜桃在线一区二区三区| 无码av免费一区二区三区试看| 国产精品免费免费| 国产精品美女久久久久高潮| 欧美不卡123| 日韩欧美国产综合一区| 3d动漫精品啪啪一区二区竹菊| 色网综合在线观看| 91色视频在线| 91影院在线免费观看| 成人久久久精品乱码一区二区三区 | 亚洲精品免费视频| 亚洲人成人一区二区在线观看 | 亚洲精品免费在线| 伊人色综合久久天天| 亚洲欧美日韩中文播放| 亚洲视频在线一区| 成人免费视频在线观看| 亚洲色图一区二区三区| 一区二区三区四区av| 亚洲一区二区三区美女| 亚洲线精品一区二区三区八戒| 亚洲欧美福利一区二区| 一区二区三区成人| 视频一区二区国产| 久久99精品久久久久久国产越南| 人人爽香蕉精品| 国内久久精品视频| 成人深夜在线观看| 色综合久久中文字幕综合网| 日本大香伊一区二区三区| 欧美日韩国产综合一区二区三区 | 国产精品黄色在线观看| 亚洲免费高清视频在线| 无吗不卡中文字幕| 国产一区二区按摩在线观看| 成人免费的视频| 欧美性受xxxx黑人xyx| 91麻豆精品国产91久久久使用方法 | ww亚洲ww在线观看国产| 国产三级精品在线| 亚洲人成亚洲人成在线观看图片 | 国产一区二区91| av不卡在线观看| 欧美日韩中文字幕精品| 日韩美一区二区三区| 日本一二三四高清不卡| 亚洲综合激情网| 黄色成人免费在线| 91色porny在线视频| 欧美一区二区在线观看| 欧美国产日韩在线观看| 亚洲一区二区三区四区五区黄 | 波波电影院一区二区三区| 在线观看成人免费视频| 欧美xxxxx牲另类人与| 综合久久久久综合| 麻豆精品一二三| 91麻豆国产在线观看| 欧美一级一区二区| 欧美国产精品v| 日日夜夜一区二区| 99re这里只有精品首页| 欧美一个色资源| 亚洲精选视频在线| 国产高清精品在线| 欧美日本一道本在线视频| 国产精品美女久久福利网站| 日韩av不卡在线观看| 99re成人精品视频| 久久精品水蜜桃av综合天堂| 亚洲精品乱码久久久久| 国产麻豆91精品| 欧美高清性hdvideosex| 亚洲欧美视频一区| 成人一区二区三区视频在线观看 | 亚洲综合色网站| 国产精品一区二区你懂的| 欧美精品久久久久久久多人混战 | 精品在线观看免费| 激情五月激情综合网| 欧美日韩午夜在线视频| 亚洲视频一区二区在线观看| 韩国av一区二区三区| 3d动漫精品啪啪一区二区竹菊| 国产精品久久看| 国产一区二区三区蝌蚪| 91麻豆精品国产91久久久使用方法| 国产精品麻豆一区二区| 久草这里只有精品视频| 欧美一级在线视频| 天堂久久一区二区三区| 欧洲激情一区二区| 亚洲精品国产视频| 99久久精品国产精品久久| 国产欧美日韩精品在线| 精品一区中文字幕| 欧美一级精品在线| 日韩avvvv在线播放| 欧美色网一区二区| 一区二区三区精品久久久| 93久久精品日日躁夜夜躁欧美| 久久久亚洲综合| 国模一区二区三区白浆| 日韩一区二区三区视频在线 | 一区二区三区四区av| 91精品福利在线| 一区二区三区欧美亚洲| 色综合久久天天综合网| 亚洲欧美激情视频在线观看一区二区三区| 国产精品自在欧美一区| 久久久www成人免费毛片麻豆| 日本不卡视频一二三区| 91精品国产综合久久久蜜臀图片| 一级精品视频在线观看宜春院| 91一区二区三区在线播放| 日韩毛片精品高清免费| 91蜜桃免费观看视频| 亚洲黄网站在线观看| 精品视频在线视频| 免费观看在线色综合| 欧美va在线播放| 国产69精品久久99不卡| 国产精品免费视频观看| 91网站视频在线观看| 亚洲精品视频在线| 欧美另类一区二区三区| 久久国产三级精品| 中文字幕第一区第二区| 日本韩国精品一区二区在线观看| 17c精品麻豆一区二区免费| 色av综合在线| 奇米一区二区三区| 久久精品欧美日韩| 色悠悠久久综合| 肉丝袜脚交视频一区二区| 精品国产乱码久久久久久夜甘婷婷| 久久国产福利国产秒拍| 欧美激情一二三区| 欧美日韩一二三| 精品一区二区在线播放| 中文字幕视频一区二区三区久| 99国产欧美另类久久久精品| 亚洲综合一二三区| 精品国产污网站| 成人福利视频在线看| 亚洲最大成人网4388xx| 精品国产乱子伦一区| 91小视频免费观看| 日本不卡一二三| 国产精品不卡在线观看| 欧美丝袜自拍制服另类| 国内精品国产三级国产a久久 | 一区二区三区不卡在线观看 | 久久久久综合网| 日本精品裸体写真集在线观看| 天天影视色香欲综合网老头| 久久久久久久一区| 欧美日韩一区二区在线视频| 久久99久国产精品黄毛片色诱| 国产蜜臀av在线一区二区三区| 91丨国产丨九色丨pron| 日本成人在线一区| 成人免费一区二区三区视频| 91精品久久久久久蜜臀| 91色视频在线| 国产一区二区福利| 日韩国产精品91| 亚洲视频免费在线观看| 亚洲精品一区二区三区99| 欧美日韩三级一区| 99在线视频精品|