看板 MacDev 關於我們 聯絡資訊
我是 Mac XCode 的新手, 目前使用最新的 XCode 2.4.1 on MacBook, 想把原來在 Windows 上寫的 ANSI C++ 專案移植到 Mac 上。 我選擇建立的專案是 "Carbon Application"。 使用上大致沒有問題,能夠成功 build and run。 想請問兩個問題: 1. 有沒有辦法取消 precompiled header 的使用? 是從專案內容裡面的設定更改嗎? 2. 在 .inl 檔中有辦法設 breakpoint 嗎? .inl 檔裡面是 class 的 inline member functions definition, 把定義分開成另一個對應的 .inl 檔,不直接寫在 .h 中。 不能設 breakpoint 的話,很難 debug 阿。 =.= -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.248.6.46
Blueshiva:ANSI C++的話為何不選Command Line Utility下的C++ Tool 07/03 14:24
Blueshiva:不過這應該和你要問的沒有關係就是...^^" 07/03 14:25
HalfLucifer:因為我要使用別人寫好的lib 一定要開Carbon App 07/03 15:38
HalfLucifer:另外 問題一已經解決了 問題二看來無解 XD 07/03 15:39