看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: Win10, Linux, ...) Win11 x64 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) Dev C++ 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 可以編譯,無法執行 https://ibb.co/sVHZxKb 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔) #include<stdlib.h> #include<stdio.h> int main(void){ printf("Hello World\r\n") ; system("PAUSE") ; } 補充說明(Supplement): 我知道大家都用Visual Studio Code了,只是用習慣Dev C++,還請高手幫忙 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 45.144.227.52 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1721786718.A.5D3.html
KyuubiKulama: 你要不先重裝dev c++ 最新版 07/24 11:44
KyuubiKulama: 4.9.9.2 版官網也才支援到xp @@ 07/24 11:50
nh60211as: 可是這個錯誤看起來像是建置錯誤餒 07/24 11:58
CoNsTaR: 為什麼你的分號這麼大一顆? 07/24 12:34
lycantrope: 全形分號? 07/24 12:42
jacky1989: 為何你沒有傳回值? 07/24 13:02
傳回0也是可編譯不執行
firejox: 你確定可以編譯? 07/24 13:13
suspect1: 確定 07/24 14:15
descent: 你的 .exe 執行檔有成功產生出來嗎? 有的話, 手動開 07/24 14:18
descent: cmd 去執行, 看看有什麼錯誤訊息。 07/24 14:18
換成 Embarcadero Dev-C++ 6.3 已解決多謝大大 ※ 編輯: suspect1 (45.144.227.12 臺灣), 07/24/2024 14:51:12
KevinR: Windows平台幹嘛不用VisualStudio? 08/22 20:07
sunneo: 你那邊all in台積電還可以 11/07 01:25