Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 21, 2006, 03:52 PM   #1
imfromthere7
macrumors newbie
 
Join Date: Feb 2006
Location: Gainesville, FL
Send a message via AIM to imfromthere7
programming in a mac

I just recently got interested in C++ and was wondering what applications would you use to run this programming language. I know that applescript exists but besides that i am unaware of others. Also, does C++ work the same in a mac and in a windows? Are the same commands used?


thank you
imfromthere7 is offline   0 Reply With Quote
Old Feb 21, 2006, 03:57 PM   #2
balamw
Moderator
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
XCode is the Mac programming environment for C, C++ and Objective-C, ... gcc is the engine behind XCode, and is a very portable compiler available on many platforms.

C++ is the same everywhere you go for console/text based programs, but if you want a GUI you need to interface to the right libraries, and this will (generally) be different for Macs and Windows boxes.

B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is offline   0 Reply With Quote
Old Feb 23, 2006, 09:41 AM   #3
novicew
macrumors member
 
Join Date: Jan 2006
Location: Hamburg
Quote:
Originally Posted by imfromthere7
I just recently got interested in C++ and was wondering what applications would you use to run this programming language. I know that applescript exists but besides that i am unaware of others. Also, does C++ work the same in a mac and in a windows? Are the same commands used?


thank you
As balamw said XCode2 is the best to start with. When I switched to Mac I had the similar problem to find a GUI. You will find a simple guideline here.

You can also use the Vim editor if you are comfortable with the Terminal. Here is a nother small demonstration.

Sure, you may not be able to use the exact code when programming under OSX but 95% of the time it should work. But I am definitely not an expert.
Hope this helps
__________________
finiteloops.com
novicew is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Can I do kernel programming in Mac OS? joshis1 MacBook Air 5 Jul 24, 2014 03:25 PM
Mac programming should be more like iOS programming. moonman239 Mac Programming 13 Feb 17, 2014 02:37 PM
c programming for mac Sriteja25 Mac Programming 3 Jul 5, 2013 04:00 AM
Programming on a Mac ThunderBow Mac Programming 5 Mar 13, 2013 04:25 AM
mac programming SlrP Mac Programming 6 Jan 26, 2013 01:59 PM

Forum Jump

All times are GMT -5. The time now is 10:12 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC