Eclipse creating projects every time to run a single file?

前端 未结 7 1911
走了就别回头了
走了就别回头了 2021-02-13 21:03

i am a beginner using eclipse CDT. usually in DEVc++ or other lightweight IDE\'s we can directly open and edit a single .cpp file from desktop and run it.

on the other h

7条回答
  •  轮回少年
    2021-02-13 22:05

    That's what I do. You can create a project called Coeforces for example, then you can create a folder inside the project called AC for example and right click on it --> Resource Configuration --> Exclude from build --> check both Debug and Release .

    Then delete src folder. Whenever you finish a code just drag and drop it in the folder and then you can create a new source file directly in the project . Also you can create another folder called WA for example for problems that you couldn't solve and want to save the code in order to think again later.

提交回复
热议问题