Friday, July 31, 2009

C program for macintosh?

I'm am a high-school student who recently joined the robotics club. My position in the group is programmer, however I am completely new to the whole concept. I am currently looking for an application for OSX Tiger that will help me write C and C++ for robots. If my question is too vague and i need more information on format or output or etc., request it. It would help if it was free, but not a problem at the moment.

C program for macintosh?
os x comes with a compiler, cc or gcc that will compile your programs (terminal based). XCode is free and from Apple and is an excellent developement enviroment. If you are new to C, the link in my sources is a good place to start.





good luck!
Reply:You will need a C/C++ Compiler. Once you get the compiler, you will need to create firmware/drivers that are specific to whatever chips you use for your robot. The chips should have documentation and libraries that you can use in conjunction with the compiler to program it. Hmm, are you sure that it is C/C++? Most things of that sort are in assembly.





You can find a compiler


http://developer.apple.com/tools/mpw-too...





Note, however, that if you're new to the concept, you might want to practice outside of the club so you have no real responsibilities, because it usually takes quite a long while to learn this kind of programming....


No comments:

Post a Comment