
This chapter explores these questions and provides an overview of the features to be discussed in the balance of the book.
CHAPTER 2 C++ PROGRAMMING BASICS
This chapter introduces three such fundamentals: basic program construction, variables, and input/output (I/O). It also touches on a variety of other language features, including comments, arithmetic operators, the increment operator, data conversion, and library functions.
CHAPTER 3 LOOPS AND DECISIONS
The flow of control jumps from one part of the program to another, depending on calculations performed in the program. Program statements that cause such jumps are called control statements. There are two major categories: loops and decisions.
CHAPTER 4 STRUCTURES
The first part of this chapter is devoted to structures. In the second part we’ll look at a related topic: the enumerations.
CHAPTER 5 FUNCTIONS
The most important reason to use functions is to aid in the conceptual organization of a program. Dividing a program into functions is, as we discussed in Chapter 1, “The Big Picture,” one of the major principles of structured programming.
CHAPTER 6 OBJECTS AND CLASSES
In this chapter we’ll put these ideas together. We’ll introduce several classes, starting with simple ones and working toward more complicated examples.
CHAPTER 7 ARRAYS AND STRINGS
In this chapter we’ll look first at arrays of basic data types like int and char.
CHAPTER 8 OPERATOR OVERLOADING
C++ handles the conversion of simple types, like int and float, automatically; but conversions involving user-defined types require some work on the programmer’s part. We’ll look at data conversions in the second part of this chapter.
CHAPTER 9 INHERITANCE
An important result of reusability is the ease of distributing class libraries. A programmer can use a class created by another person or company, and, without modifying it, derive other classes from it that are suited to particular situations.
CHAPTER 10 POINTERS
In this chapter we will try to demystify pointers and show practical uses for them in C++ programming.
CHAPTER 11 VIRTUAL FUNCTIONS
This chapter covers a rather loosely related collection of such subjects: virtual functions, friend functions, static functions, the overloaded = operator, the overloaded copy constructor, and the this pointer.
CHAPTER 12 STREAMS AND FILES
This chapter focuses on the C++ stream classes.
CHAPTER 13 MULTIFILE PROGRAMS
This chapter will introduce some longer and more ambitious applications.
CHAPTER 14 TEMPLATES AND EXCEPTIONS
This chapter introduces two advanced C++ features: templates and exceptions.
CHAPTER 15 THE STANDARD TEMPLATE LIBRARY
This chapter describes the STL and how to use it.
CHAPTER 16 OBJECT-ORIENTED DESIGN
In this chapter we’re going to focus on three major phases in the process of translating a programming problem into classes.
Download:
Link_1
0 comments: