背景:
今天重新裝了一個eclipse 然後把C/C++插件裝上,發現無法運行C/C++程序
問題:
右鍵裏沒有run local c/c++ application了,如下圖:
解決方法:
- Select Help → Install New Software
- Type this url:http://download.eclipse.org/tools/cdt/releases/indigo(這個路徑根據你的版本選擇,比如我用的版本是juno就把indigo改成juno)
- Tick the CDT Main Features witch includes c++ sdk
- Restart eclipse done!