|CSC 161||Grinnell College||Spring, 2014|
|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.
|Monday, April 28||Introduction|
|Tuesday, April 29||Command-Line Arguments||lab exercise|
|Wednesday, April 30||Files||
|Friday, May 2||Hour Test 3||Covers through Module 110|
|Monday, May 5||Files Continued||
||lab exercise||extra credit if submitted by Friday, May 9|
|Tuesday, May 6||Supplemental Problem 5||Supplemental Problem 5 (done individually)||Tuesday, May 6|
|Tuesday, May 6||Project Day 1||project||Friday, May 9|
|Wednesday, May 7||Project Day 2||project||Friday, May 9|
Write a "robot logger" program which can log actions to a file, and also read actions from a file and performs 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.
it should be possible for a user to utilize both -w and -r mode.
This program should support at least 10 different actions (following the module 011 project command requirements). As with the Module 011 project, each action (except, perhaps, quit) must be implemented as a separate procedure.
Global variables may not be used in this project. Use parameters to communication data into procedures.
You are encouraged to use either your module 011 project or your command-robot.c program as the basis for the command input.
One approach would involve two variables readMode and writeMode.