Defining Programming Standards   
for Professional Programmers 




1: Standards

2: Psychological Factors

3: General Principles

4: Commenting

5: Naming

6: Code Layout

7: File Layout

8: Language Usage

9: Data Usage

10: Programming Usage

11: Implementing Standards

A: Example Standard

B: References

C: Glossary



Share this page:

C Style



Books and
more at:


In association with


In Association with


In Association with



CHAPTER 7 : File Layout


CHAPTER 7 : File Layout
7.1 Layout of directories
7.2 Division of files
7.3 Considerations for File Layout
7.4 Header files
7.5 Layout of Data files
7.6 Layout of Code files
7.7 Summary

<--Prev page | Next page -->

<-- Prev chapter | Next chapter -->


Good layout is just as important for files as it is for functions, as the reader must understand the context within which the functions are set.

File layout can be divided into external and internal layout:

  • The external layout of the file concerns the organization of files within the computer's filing system. The external file layout is also affected by the philosophy used to determine when, where and how files are to be divided.
  • The internal file layout concerns what is put where within the file. Note that functions are treated as atomic items at this level of layout.

This chapter looks at the division and layout of files from the external level down to the internal level, necessarily straying into project organization and design domains in order to determine what a file might contain.


<--Prev page | Next page -->



  Syque 1995-2013

Massive Content -- Maximum Speed