|CSC 161||Grinnell College||Spring, 2013|
|Imperative Problem Solving and Data Structures|
The purpose of this module is to smoothly integrate and review material that has been presented through the semester, with a particular emphasis on C programming concepts and full usage of the Scribbler robot.
|Tuesday, April 30||Introduction|
|Wednesday, May 1||Command-Line Arguments||lab exercise|
|Friday, May 3||Files||
|Monday, May 6||Files Continued||
||lab exercise||Friday, May 10|
|Tuesday, May 7||Supplemental Problem 5||Supplemental Problem 5 (done individually)||Tuesday, May 7|
|Tuesday, May 7||Project Day 1||project||Friday, May 10|
|Wednesday, May 8||Project Day 2||project||Friday, May 10|
Write a "robot logger" program which can log actions to a file, and also read actions from a file and perform them.
if the use specifies a command-line directive -w, then
if the use specifies a command-line directive -r, then
if no command-line arguments are given, the program should remind the user that the program requires -w or -r.
This program should support at least 10 different actions (following the module 3 project command requirements).
You are encouraged to use either your module 3 project or your command-robot.c program as the basis for the command input.
This project will be worth 25 points, based on the following rubric:
The program can write actions to a file. (5 points)
The program can read back the actions file and perform those actions in order as listed in the file. (5 points)
The program can be executed with the -w (write) flag and the -r (read) flag. (5 points)
There are at least 10 different robot actions supported, with either standard i/o or command-line input supported (5 points)
Code is well documented, reasonably efficient and well-structured, and example command files are given. (5 points)