iDevGames Forums
.C cplusplus files in XCode? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Tools & Technology (/forum-10.html)
+--- Thread: .C cplusplus files in XCode? (/thread-3387.html)



.C cplusplus files in XCode? - kelvin - Mar 27, 2007 02:51 PM

Anyone know how to setup XCode to recognize .C files as c++ files?
As it is right now, it will only switch from the .h->.C and not back. Major annoyance.


.C cplusplus files in XCode? - bronxbomber92 - Mar 27, 2007 02:55 PM

single click on the file, press the info button, then there should be a drop down menu, and you can change how the compiler will interpret that specific file (I don't know how to change it globally, sorry).


.C cplusplus files in XCode? - OneSadCookie - Mar 27, 2007 04:18 PM

Rename your source files to something sane?

It may be the case that Xcode or GCC will detect whether you have a case-sensitive disk, and treat them as C++ if you do, and C if you don't.