Re: Standard C++
Re: Standard C++
- Subject: Re: Standard C++
- From: Paul Sargent <email@hidden>
- Date: Mon, 17 Mar 2008 18:24:13 +0000
On 17 Mar 2008, at 17:56, Paulo Ferreira wrote: Hello everyone!
I recently switched to mac! And started to use Xcode3.0.
My basic problem is, I'm not been able to compile a Standard C++ file :( I did something very basic, a 'Hello World' file, code below:
The key point here is how you created your Xcode project, because that contains all the information about how to build your app. Normally it's best to start with one of the templates provided with Xcode. In fact, if you select 'File -> New Project' and then find 'Command Line Utility -> C++ Tool' you'll be given an example project that contains code very similar to what you posted.
Once you've got that, bring up the console ('Run -> Console' or ⇧⌘R) and press Build & Go (⌘↩)
Start there, and get playing. Xcode takes a little getting used to.
I'd also suggest taking a little time to get familiar with Objective-C. If you know C++ it's not difficult, and you'll probably want to use it to access a lot of the Mac GUI libraries.
Paul |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Standard C++ (From: Paulo Ferreira <email@hidden>) |