討論串[問題] 輸出txt變成亂碼 但是wordpad開可看
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓3(3推 0噓 3→)留言6則,0人參與, 最新作者LPH66 (-858993460)時間15年前 (2010/12/13 14:53), 編輯資訊
0
0
0
內容預覽:
還是回一篇好了. 我的實驗程式如下:. #include <stdio.h>. #include <stdlib.h>. int main(). {. for(int i=0; i<2000; i++) printf("%d ",rand()%2);. return 0;. }. 然後把這支程式的輸
(還有290個字)

推噓4(4推 0噓 19→)留言23則,0人參與, 最新作者grayyoung (灰狼)時間15年前 (2010/12/13 01:16), 編輯資訊
0
0
0
內容預覽:
一般輸出txt預設都是筆記本. 但是我output會是一堆亂碼 原文都是數字. 用WordPad開就正常. 可以請問為什麼嗎??. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 123.195.8.91.
首頁
上一頁
1
下一頁
尾頁