Eclipse CDT won't run compiled exe files

前端 未结 1 705
慢半拍i
慢半拍i 2021-01-22 20:41

So I decided to install the Eclipse CDT as my chosen IDE. However, it seems like once I began to start running a C program that required input, Eclipse decides to stop running t

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-22 21:23

    I just tried this and it worked:

    Goto Run - Run Configuration - C / C++ - Your Exe

    Click on the tab "Arguments"

    In the workspace section uncheck "use default"

    Then select the directory where the exe resides e.g. debug

    enter image description here

    0 讨论(0)
提交回复
热议问题