討論串[問題] file開啟檔名的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者Tonix517 (硊N~k孩~)時間16年前 (2009/03/19 13:50), 編輯資訊
0
0
0
內容預覽:
filename is a var name, should not be quote. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 218.83.157.202.

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者blackmenmail (熊貓胖天)時間16年前 (2009/03/19 12:31), 編輯資訊
0
0
1
內容預覽:
請問版友. 我現在想請使用者輸入一個檔名. 用使用者輸入的檔名當作檔名. 下面是我的部份程式碼. fflush(stdin);. printf("請輸入檔案的名稱: (EX:input.txt)\n->");. gets(filename);. input = fopen("filename","w
(還有256個字)
首頁
上一頁
1
下一頁
尾頁