Wrox Press C++ Tutorial


Chapter 4 - Introducing Structure Into Your Programs

Up to now we haven't really been able to structure our program code in a modular fashion, since we've only been able to construct a program as a single function, main(). We have, however, been using library functions of various kinds. Whenever you write a C++ program, you should have a modular structure in mind from the outset and, as we shall see, a good understanding of how to implement functions is essential to object-oriented programming in C++. In this chapter, you'll learn:

There's quite a lot to structuring your C++ programs, so to avoid indigestion, we won't try to swallow the whole thing in one gulp. Once we've chewed over and gotten the full flavor of the morsels listed above, we'll move on to the next chapter, where we shall get further into the meat of the topic.


© 1998 Wrox Press