Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 21, 2006, 02: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, 02: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, 08: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Resolved: Making overall improvements in my Mac Mini! alexreich Mac mini 9 Jul 4, 2011 05:56 PM
ASCII art program in the mac app store now...pretty cool! Hankster Mac Applications and Mac App Store 1 Apr 19, 2011 09:27 PM
What is the easiest language to program in for iPhone apps? cootersgarage6 iPhone and iPod touch Apps 1 Jan 28, 2011 03:40 PM
Faster RAM works okay in Nehalem Mac Pro KD7IWP Mac Pro 7 Nov 18, 2010 10:11 AM
Parallels: opening a windows program in the mac dock?! yOyOYoo Windows, Linux & Others on the Mac 8 Jul 15, 2008 02:29 AM


All times are GMT -5. The time now is 03:06 AM.

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

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