I'm learning C in university and need to create a simple program for an assignment. I've searched all over for a compiler like codeblocks or dev C++ to be able to test my work on my macbook. I installed Xcode but I cannot figure out how to simply create a blank file, write up a simple block of C code, compile it and run it. Please advise me on how I can do this... Thx.