Today I was on my mac trying to compile Fardad's program from Feb 1st class to get the keyboard codes in a mac environment. I was first trying to compile the program in terminal. After hours of effort, I can to the agreement that I needed a compiler to get it working. I went on to google and search for a mac base compiler. I found a link to apple's website and discovered a compiler program call 'Xcode'. It's a free download, but I needed to create an account to Apple's Development Program (this happens way to often). After I entered useless information, I was finally downloading the xcode (size:1GB). When the installation was complete, I opened Fardad's program in Xcode and was ready to compile it ......... but I didn't know how :(. I tried writing a "Hello world" program, but still could not get it to compile. So now I asking for help. Does anyone know how to compile in Xcode? Is there another way to compile code without using xcode? Any help will be welcome.