If you're using Linux on your classes at school, it should be exactly the same. Once you have Xcode installed, you have all the command line tools installed (gcc). So you can just use TextEdit or any text editor and compile your C programs directly in the command line (/Applications/Utilities/Terminal). This is much easier to use then Xcode (I think) for learning C.