• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Standard C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standard C++


  • Subject: Re: Standard C++
  • From: Thomas Davie <email@hidden>
  • Date: Mon, 17 Mar 2008 22:31:09 +0000

Hi Paulo,
Have you created a project file? Your project contains all of Xcode's information on exactly what needs build, in what order, with what build settings. Create one of those, add your C++ file to the project, and then press build.


Hope that helps.

Bob

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:


/*
 *  GameOver.cpp
 *  GAMES_Cpp
 *
 *  Created by barbeirovsk on 17/03/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#include <iostream>

int main(){
	std::cout << "Game Over!" << std::endl;
	return 0;
}

When click 'Build', nothing seems to happen. When I am in the 'project manager', crtl+click in my file, and click in the 'compile' option, nothing seems to happen!

So, my first, and stupid, question is: Where Xcode saves my compile file? or Am I doing the wrong procedure?

Thanks,

Paulo

Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! _______________________________________________
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

_______________________________________________ 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>)

  • Prev by Date: Re: Question about Header Search Paths
  • Next by Date: Debugging Cocoa-Python
  • Previous by thread: Re: Standard C++
  • Next by thread: Question about Header Search Paths
  • Index(es):
    • Date
    • Thread