© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
G. Gonzalez-Morris, I. HortonBeginning Chttps://doi.org/10.1007/979-8-8688-0149-5_8

8. Structuring Your Programs

German Gonzalez-Morris1   and Ivor Horton2
(1)
Santiago, Chile
(2)
STRATFORD UPON AVON, UK
 

I mentioned in Chapter 1 that breaking up a program into reasonably self-contained units is basic to the development of any program of a practical nature. When confronted with a big task, the most sensible thing to do is break it up into manageable chunks. You can then deal with each small chunk fairly easily, and you can be reasonably sure that you’ve done it properly. If you design the chunks of code carefully, you may be able to reuse some of them in other ...

Get Beginning C: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.