3 回答

TA貢獻1851條經(jīng)驗 獲得超5個贊
你使用VS2008的話,安裝完成后選擇 Visual Studio 2008 Command Prompt,出現(xiàn)一個cmd窗口,
使用
cl main.cpp
就可以編譯!
如果你的項目比較復(fù)雜,就自己寫一個Makefile文件吧!

TA貢獻1784條經(jīng)驗 獲得超2個贊
1.安裝xampp后,打開php.ini文件,取消最后面的[XDebug]的注釋,特別注意 一定要打開元調(diào)試功能:xdebug.remote_enable = 1,重啟xampp的apache服務(wù)。
2.安裝chrone瀏覽器的php調(diào)試插件:xdebug heler。
3.在eclipse-php-helios-SR2-win32 的首選項 中設(shè)置 php excutables,指向xampp中的php安裝路徑,且選擇xdebug作為調(diào)試器。
4.在debug處選擇xdebug,且php excutables 選擇上一步設(shè)置的執(zhí)行環(huán)境即可。配置installed Debugger 里面的xdebug,一定要
將Accept remote session 設(shè)置loaclhost 或者any,否則 eclipse里面是不會停在斷點處的。
5.在eclipse中設(shè)置斷點,然后chrone 瀏覽器中發(fā)起調(diào)試。
- 3 回答
- 0 關(guān)注
- 1358 瀏覽
添加回答
舉報