View Full Version : starting programing...
xanarchyx
05-01-2008, 18:47
ok well iv been playing around with programing for a few years now, like java, python and C++ (waste of time lol). Anyways now that I'm in robotics i would like to start to actually learn a programing language. I think that all frc / vex is programed in c. so i figure i should learn c. I realize it is a fairly easy language and was wondering if anyone new any tutorials. and what compiler to use for practice.
Follow the links on the FIRST page for Additional Technical Resources (http://www.usfirst.org/community/frc/content.aspx?id=482). Lots of good pointers there.
Mannie Lowe
well, you know c++ already, so you already know all the syntax necesary....just read over the default code from innovation first and more specifically user_routines.c and ifi_aliases.h
If you are looking for a good IDE/compiler that will let you play around on Windows and compile some C examples from tutorials I would go with Dev C++. It's a fairly straight forward IDE and uses a port of GCC. It can also compile C++, so you need to be careful about what code you are compiling and making sure it doesn't contain any C++.
If you are on Linux, theres nothing wrong with vi (or nano, or maybe even gedit if your feeling fancy) and GCC to test and compile code while your learning.
Best of luck!
Ken
Our team uses the M$ Visual C++ Express (http://www.microsoft.com/express/vc/Default.aspx). Nice IDE as far a color coding and formatting code for easy reading.
If you are already started with programing (not even necessarily in C) you should be able to get a pretty good idea of what you are doing just by looking at the default robot code.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.