Eclipse creating projects every time to run a single file?

前端 未结 7 1912
走了就别回头了
走了就别回头了 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 21:42

    I know eclipse has the ability to create a java scrap book, using this you can write a bit of java code and just run that code, with out having to setup any classes or main functions. You might want to look to see if eclipse has C++ scrap book in the New dialog box.

提交回复
热议问题