Is carbon c++ ansi? And is there any other compilers other than xcode which is ansi?
did you started programming with HELLO WORLD thing? If so where should I write it in xcode is it the source?
What resource are you learning to program with?
From the sounds of it I would skip Xcode at the moment and just work with a text editor and the command line. It will be much easier to learn to start out with, worry about Xcode later.
All you need to do is get a decent text editor (I recommend Smultron) and type your code in there. Save the file calling it anything you want but make sure to add a .c extension to it. Then open Terminal in /Applications/Utilities and navigate to the folder where you saved it (if you saved it to the Desktop you would type cd Desktop).
Once that is done type:
gcc -o myprog whateveryoucalledyourfile.c
and your code will be compiled and given the name myprog, obviously you will need to change the filename to whatever you called your file and you can change myprog to anything you like. To run your program type:
./myprog
Slight modifications for C++:
Save your file as .cpp, .C, .CPP, .cc, .cp, .cxx, .c++. The first is the most common.
Instead of gcc, run g++:
g++ -o myprog whateveryoucalledyourfile
-Lee
how do I make it to a app?
like you can click on it in the dock?