Thread: C++ compiling
View Single Post
  #2  
Old May 4th, 2005, 02:56 AM
texanpenguin's Avatar
texanpenguin texanpenguin is offline
Registered Penguin
 
Join Date: Feb 2003
Location: Australia
Posts: 881
Thanks: 0
Thanked 0 Times in 0 Posts
texanpenguin is on a distinguished road
You need to make sure you have a Target set up.

The easiest way to do simple text compiling is still the Terminal and a plain-text editor (like SubEthaEdit, BB Edit, or even the venerable TextEdit in Plain Text Mode).
Just save the file somewhere and type
g++ *filename*
into the Terminal (you'll want to cd to the path of the file first though).

In XCode, look at Targets.
__________________
15" MacBook Pro
Mac OS X v10.5.1
2.33GHz, 2GB RAM, 120GB HDD

5G iPod 60GB
Reply With Quote