Tyaedalis Wrote:thanks. i have a question. is there a link between cocoa and c?

The language of choice for Cocoa programming is objective-C. Objective-C is a true superset of C. That means that objective-C is C with stuff added to it. If you want to start writing plain C code in the middle of an objective-C method, you can do so.

i have learned the basics of BASIC but i cant remember anything from it. i tried learning C before recntly, but got distracted... pythons seems boring. what can you do with it and how do you compile (or interperet) it?

i kow it means standard something, but what does it do?
does the program need it?

also, how do i set up Xcode for C compiling?

#include someFile means "paste the contents of someFile here". You'll find stdio.h in /usr/includes/stdio.h. It defines a bunch of stuff (like the printf function) which allows your program to get input an produce output (hence, the io part).

You don't need Xcode for plain C (although it helps once you start making more complex programs). Use GCC for now. Here's how:

1) open Terminal

2) cd to the directory of your source code (if you don't know how to use a command line, google for "basic unix tutorial")