• 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: Optimal environment to compile C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimal environment to compile C


  • Subject: Re: Optimal environment to compile C
  • From: Helge Gudmundsen <email@hidden>
  • Date: Sun, 3 Aug 2008 23:36:11 +0100

Hi,

To make the project compile, you need to add the word "int" in front of main().

You can find the output in the console window which you can find in the Run menu. You can make the console window appear automatically by selecting "Show console" in the "On start" drop-down list in the Debugging page of the XCode preferences.

Running your program then produces the following output in the Console:

[Session started at 2008-08-03 23:32:38 +0100.]
Hello World

The Debugger has exited with status 0.


hth
helge



On 3. aug.. 2008, at 23.17, Vlado Krempl wrote:

main(){
printf("Hello World\n");
}

 _______________________________________________
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: 
 >Optimal environment to compile C (From: Vlado Krempl <email@hidden>)

  • Prev by Date: Re: Optimal environment to compile C
  • Next by Date: Re: linking error?
  • Previous by thread: Re: Optimal environment to compile C
  • Next by thread: Re: linking error
  • Index(es):
    • Date
    • Thread