Eclipse creating projects every time to run a single file?

前端 未结 7 1787
走了就别回头了
走了就别回头了 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:01

    Create a new Folder (ex: tmplib)

    Right click on "tmplib" -> Resource Configuration -> Exclude from build (debug and release)

    Drag/drop files between src and "tmplib" folder - anything in src folder will be built (no need to delete src folder)

提交回复
热议问题