Optimal environment to compile C
Optimal environment to compile C
- Subject: Optimal environment to compile C
- From: Vlado Krempl <email@hidden>
- Date: Mon, 4 Aug 2008 08:17:53 +1000
Hello everyone.
Excuse my greenness, but I am an absolute beginner.
I am starting my uni course soon and am setting up the optimal
environment for developing C programs.
My setup is
Mac Pro 2x2.66 Quad Core, Leopard, Xcode 3.0.
I read somewhere online that I had to unpack and install GCC, which I
have done.(gcc 4.0)
I have created a new project using "Command Line Utility" then
choosing "Standard Tool".
Opened the "main" file and renamed it "hello.c" with the basic code
below:
main(){
printf("Hello World\n");
}
Question
1. How do I compile it? (Is it "Build and Go" button?) I get "Failed"
when I do this .(with lots of syntax errors)
2. Where do I actually see the output of this file when I do a compile.
Thank you for taking the time to read this and any assistance will be
much appreciated.
Cheers,
Vlado Krempl
Sydney, Australia
Just wanted to make sure I was going down the right road
_______________________________________________
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