University of Delaware

CISC105 - General Computer Science

FINAL

Pointers & File I/O

  1. Goals

    This program is an exercise to test your knowledge of the C Language concepts of Pointers & File I/O.

  2. Pointers & File I/O Exercise

    Create a program that performs the following facilitating the use of Pointers & File I/O:

The program must be able to process the following records:

	EMP#      NAME            HOURS         RATE
	=====     ==========      ======        =====
	2173      Smith              40          5.00
	6925      Jones              37          5.25
	4732      Valdez             20          7.25
	8641      Miller             40          8.25
	9732      Brown              40         25.00
	1378      Chang              25          9.50
	5937      Kelley             36         10.00
	4188      Otis               38         15.00
	5264      Zimmerman          40         12.75
	3343      Wagner             30         13.00
 
 
The script file should contain the following:
 
    1.  A concatination (cat) of the source code.
    2.  A compilation (cc) of the source code.
    3.  An execution of the compiled program (a.out).
    4.  A concatination (cat) of the file created by the program.