close
 
輸出/輸入函數

函數名稱

需引入的前端處理函數

           

cputs

conio.h

顯示字串。

cgets

conio.h

由控制台讀取一字串。

eof

io.h

偵查檔案終了。

fopen

stdio.h

開啟緩衝式的檔案。

fclose

stdio.h

關閉某一開啟之檔案。

fcloseall

stdio.h

關閉所有開啟之檔案。

fgetc

stdio.h

讀取字元。

fgetchar

stdio.h

從標準輸入stdin中讀取字元。

fgetpos

stdio.h

取得檔案指標。

fgets

stdio.h

讀取字串。

filelength

io.h

傳回檔案的長度。

fprintf

stdio.h

將格式化資料輸出到檔案中。

fputc

stdio.h

輸出字元到某一管道中。

fputs

stdio.h

輸出字串到某一管道中。

fscanf

stdio.h

由檔案中讀取格式化的資料。

getc

stdio.h

讀取字元。

getch

conio.h

讀取字元。

getchar

stdio.h

讀取字元。

getche

conio.h

讀取字元。

gets

stdio.h

讀取字串。

scanf

stdio.h

格式化輸入。

printf

stdio.h

格式化輸出。

read

io.h

讀取檔案資料。

write

io.h

將資料寫入檔案中。

fread

stdio.h

從管道中讀取資料。

fwrite

stdio.h

將資料寫到輸出管道中。

puts

stdio.h

輸出字串。

putc

stdio.h

輸出字元。

putch

conio.h

輸出字元。

putchar

stdio.h

輸出字元。

 

arrow
arrow
    全站熱搜

    marco 發表在 痞客邦 留言(0) 人氣()