16-311 Introduction to Robotics

CRASH COURSE IN COMPILING/DEBUGGING IN THE CLUSTERS
---------------------------------------------------

  1. get a SSH client
  2. write your source code
  3. compile
  4. more debugging
TIP: Sometimes, you'll find that you're frequently compiling and running and compiling and running. You can make things easier on yourself by doing it all on one line. This way you can just press the up arrow key, and hit enter, and gcc will recompile your source code, and run the program. You can do this by writing the two commands on the same line separated by a semicolon.

example: "gcc -o myprogram myprog.c -Wall; ./myprogram"

GOOD LUCK!!