tailieunhanh - Lecture Practical C++ programming - Chapter 27: Putting it all together

This chapter describe the programming process used to create this program. Explain what worked and what didn’t. If something didn’t work, what can be done to fix the problem? | Chapter - 27 Putting it all together Practical C Programming Copyright 2003 O Reilly and Associates Pagel Requirements The program must be long enough to demonstrate modular programming Short enough the fit into a chapter Complex enough to demonstrate advanced C features Simple enough for a student to understand It must be useful. The program selected is designed to read C files and generate simple statistics. Practical C Programming Copyright 2003 O Reilly and Associates Page2 X X Specification Preliminary Specification for a C Statistics Gathering Program Steve Oualline February 10 1995 The program stat gathers statistics about C source files and prints them. The command line is stat files. Where files. is a list of source files. The following shows the output of the program on a short test file. Practical C Programming Copyright 2003 O Reilly and Associates .