C Programming 要Input Output file的話,應該用什麼去寫那個file?

2006-11-14 9:22 am
C Programming 要Input Output file的話,
應該用什麼去寫那個file?
那個file應該有什麼格式?
還有怎樣output那個file?
有沒有特定的code?
我是用Miracle C的~
對Input Output file是零知識...
麻煩Programming達人指教指教...
更新1:

最重要是:如果我用Miracle C的話, 那我想在我的program裡call out的那個file也是用Miracle C寫的嗎? 那個file又是什麼structure的呢?

回答 (2)

2006-11-14 10:44 pm
✔ 最佳答案
http://www.csie.ntu.edu.tw/~cprog2003/downloads/Notes%20on%20C%20File%20I-O.htm

c compiler大都support此方法的
c input file 和output file有2種~一種是用text的方式讀取、另一種是以binary的方式
(好像是吧…要是這問題4年前問我…我是可以答到的…現在都忘了…汗)
2006-11-17 9:21 pm
?.? 唔明wow ~ 你寫c program的時候.....可以令個program 自己create 個file 來放野咪可以囉~ miracle c我未用過...但隻隻c都一樣的....你找返I/O 給條link 你自己學下吧~ program 同計數一樣....要自己做多d

http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/io.html


收錄日期: 2021-04-26 12:31:40
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061114000051KK00283

檢視 Wayback Machine 備份