Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我习惯了 Visual C++,它在一个块中非常清楚该#ifdef块是否要被编译。
#ifdef
Xcode(3)是否也这样做,我看不出怎么做?
看看下面的截图。
如您所见,Xcode 4 不会在不会编译的部分应用语法着色。