ECE222(2007Fall)Prog3(FileIO)

ECE222(2007Fall)Prog3(FileIO) - Fall 2007 ECE 222 System...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Fall 2007 ECE 222 System Programming Concepts 1 of 3 Lab 3 –File I/O In this lab, each student is to write a prompt-driven program called prog3.c that opens a text file, reads encoded data from that file, decodes the data, and writes the decoded data to another file. Upon execution, the program should tell the user what it does and give a brief description of commands and syntax. The program should then prompt the user for the names of an input and output file to be used. Once the decoding is complete and written to the output file, the program should display a message telling the user what it did and then exit. Background We have learned that assistants for the Furman High School football team are attempting to spy on communications between the Clemson coaching staff. To prevent this from happening, we have developed a simple coding scheme to hide messages in a file. With the correct key, a hidden message can be retrieved from the file. Input
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/20/2008 for the course ECE 222 taught by Professor Reid during the Spring '08 term at Clemson.

Page1 / 3

ECE222(2007Fall)Prog3(FileIO) - Fall 2007 ECE 222 System...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online