Xcode can compile C++, Objective-C and plain old C. So you've got a compiler no matter which you go with. And yeah, a search would probably turn up better recommendations than you'…
Good luck making your decision. Like everyone, I agree that you should try and learn C first (or use the Cocoa bindings from a language like Python if learning C isn't your desire…
Quote:
Originally Posted by PBG4 User
Yes, Xcode will compile ANSI compliant C code.
Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine an…
Quote:
Originally Posted by smitty825
Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine anyone has written anything in ANSI C in at least 10 …
Quote:
Originally Posted by smitty825
Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine anyone has written anything in ANSI C in at least 10 …
Quote:
Originally Posted by smitty825
I personally disagree with Brass' statement that Obj-C syntax is far simpler than C++. IMHO, C++ more closely follows the C language behav…
Objective-C has more than one syntactic extension to C. It adds keywords such as @implementation…@end and @try, and the <ProtocolName> syntax for indicating conformance to a …
Quote:
Originally Posted by smitty825
Good luck making your decision. Like everyone, I agree that you should try and learn C first (or use the Cocoa bindings from a language li…
Quote:
Originally Posted by Spaceman Spiff
I will defiantly be writing Mac software 99.9% of the time, but if I want to write a Windows (or Linux) program, does a Obj-C compile…
Quote:
Originally Posted by Spaceman Spiff
I will defiantly be writing Mac software 99.9% of the time, but if I want to write a Windows (or Linux) program, does a Obj-C compile…
Quote:
Originally Posted by Chuckit
You don't think anything has been written in C89 since 1995? What do you reckon all the C programmers were using in 1996?
Whoops...I mis…
Quote:
Originally Posted by Chuckit
They do, but it would likely be a lot more than a simple recompile —�but that's true of porting a C++ Mac program as well.
The only project…
Carbon and Cocoa are very different. It's not that one is necessarily less capable than the other, they're just different. To generalize a lot, I would say Cocoa is "easier." Carbo…
I think that Apple originally inteded Carbon to be a "transition" technology from Classic Mac OS to Mac OS X. However, this is certainly not the case now. It is not the poor cous…
If you're writing new code, then cocoa is probably the best way to go since you're starting fresh. Carbon does have it's applications though and certainly could be used. IMO, car…
Cocoa is meant for Objective-C, but you can use other languages with it. Java, Perl, Python, Ruby and probably several others I haven't thought of all have Cocoa bridges.
I thought the bridging technology was deprecated (Bridgette or whatever it was called), but Cocoa-Java was still alive. Did they deprecate the whole thing?
Definitely go with Cocoa/Objective-C. You can find plenty of information on how to do so in the archives.
C++ is a terrible language. Never learn it if you can help it.
Quote:
Originally Posted by parallax
Definitely go with Cocoa/Objective-C. You can find plenty of information on how to do so in the archives.
C++ is a terrible language. Never…
Go to http://cocoadevcentral.com and read C tutorial. It gives you enough C to move on to ObjC. Whatever language you choose to learn, just remember that the languages aren't tha…
Quote:
Originally Posted by Spaceman Spiff
I've started on C, and I plan to go onto Cocoa/Objective-C, but what makes C++ a terrible language?
C++ is a strongly typed langu…
In short, C++ is a hack of an object-oriented system. There are places where it's just broken (search the web for details). Debugging errors with templates is a nightmare.
MacG33k…