Question:
Can C/C++ be used on Macs? Is Java better for Macs?
Maggie's Doggie Mom
2010-06-30 17:34:35 UTC
Can C/C++ be used on Macs? Is Java better for Macs?
Four answers:
Jonas
2010-06-30 20:04:53 UTC
The answer to your question is:



The difference is that C/C++ programs needs to be compiled for the system they are to run on, while Java programs run in a virtual machine. This means that while C/C++ programs are not portable, and needs to be compiled on each machine, a Java program is portable and the Java binary can run on any system that has a Java virtual machine.
aaronboeingfan
2010-07-01 00:38:46 UTC
You can do either with Xcode. And Xcode is based around C and C++, and mainly Objective-C. I'm sure you can do Java coding with a Mac as well, there are Xcode add ons with that as well.
anonymous
2010-07-01 00:36:13 UTC
Hell yes, ma'am, and I personally see no particular advantage or ease in using Java on a Mac, compared to C/C++.
NoExpense
2010-07-01 00:35:59 UTC
when in doubt, use a PC...


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...