Monday, May 24, 2010

C++ programming on a mac?

I'm taking this programming course at university. We use the computer labs there, they run on Linuix. We're doing c++ programming. I sent some of the documents that I did the c++ on through email to my computer at home so I don't always have to do it in the labs at school.





Anywaaay, my macbook pro won't open it because there's no applications that can support it I suppose. So is there anything I download for it?

C++ programming on a mac?
Install the Xcode tools from your Mac OS X install disk. It supports various languages including C++, C, Objective-C (those are the main ones), Java, Ruby, Python, (X)HTML, CSS, JavaScript, etc. It also has a very nice GUI for GDB which you might find useful. You don't have to use Xcode to edit the C++ files though, you could just use TextEdit, but you get no syntax highlighting. Also, installing Xcode installs gcc and its tools which you'll need to test your code anyway.
Reply:I suggest getting a IBM standard computer.
Reply:im not sure at all...im pretty sure u can find one
Reply:If all you want to do is edit the code files treat them as text files. As for compiling there are linkers available for the MAC but I'm not sure which ones are out there.


No comments:

Post a Comment