|CSC 161||Grinnell College||Fall, 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.
|Tuesday, December 2||Introduction|
|Wednesday, December 3||Command-Line Arguments||lab exercise|
|Friday, December 5||Files||
|Monday, December8 8||Files Continued||
||lab exercise||extra credit if submitted by Friday, December 12|
|Tuesday, December 9||Supplemental Problem 5||Supplemental Problem 5 (done individually)||Tuesday, December 9|
|Tuesday, December 9||Project Day 1||project||Friday, December 12|
|Wednesday, December 10||Project Day 2||project||Friday, December 12|
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
the -w or -r flags are independent:
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.