
Chapter 1, “A Quick Introduction to the Language”—Before diving into the “deep end” of C++ programming, this chapter provides a gentle introduction into the basic concepts of the language. Loops, calculations, and error handling are all covered here for the beginning C++ programmer.
Chapter 2, “Object Orientation—Theory and Practice”—To fully make use of the C++ language, object-oriented programming must be understood. Many C, Pascal, and COBOL programmers are assigned to C++ projects and never take the time—or get the opportunity—to fully learn the benefits of OOP.
Chapter 3, “Object Orientation—C++ Specifics”—After learning or reviewing the basic concepts of object-oriented programming in Chapter 2, you will learn how these concepts are specifically applied to C++ in this chapter.
Chapter 4, “Structures Versus Classes”—C++ provides two primary devices that can be used to contain data: structures and classes. Although the two data structures can be identical, classes are much more powerful because they fully support the primary OOP constructs.
Chapter 5, “Common Mistakes Made with Classes”—Because of the tremendous difference between traditional structured programming and object-oriented programming, many beginning-to-intermediate–level programmers make several common mistakes.
Chapter 6, “Template Classes”—The template class is a mechanism that enables you to write a single solution to a problem that can satisfy all data types.
Chapter 7, “The Standard Template Library’s Container Classes”—In this chapter, you will explore the following containers of the Standard Template Library: vector, string, stack, list, and queue.
Chapter 8, “The Standard C Library’s Included Algorithms”—In this chapter, I survey the algorithms of the Standard C Library. These algorithms enable you to sort an array and find an element in it.
Chapter 9, “The Standard Template Library’s Included Algorithms”—STL algorithms are represented by template functions and provide copying, searching, sorting, and merging functions, as well as other operations on data.
Chapter 10, “C-Style Error Handling”—This chapter covers different errorhandling methods that work in C and C++ programs and some methods that don’t work well in C++ programs.
Chapter 11, “Exception Handling in C++”—The exception-handling mechanism furnished by the standard provides a common and standard interface for handling program anomalies.
Chapter 12, “new and delete Versus malloc() and free()”—This chapter compares and contrasts the C++ new and delete operators and the C functions malloc() and free(), and it covers their place in C++ memory management.
Chapter 13, “Memory Management Techniques Using Classes”—Whereas C-style memory management basically requires the programmer to free variables that have been created, C++-style memory management is much more powerful, although a bit more challenging.
Chapter 14, “Understanding the I/O Streams Library”—So many programmers seem to have difficulty with the C++ I/O Streams library that it is quite common to see C++ code still using the old C stdio functions to handle program I/O.
Chapter 15, “File I/O”—This chapter covers IOStreams with a focus on file streams. Examples are provided that demonstrate how to seek through files, read/write binary files, and manage file I/O errors.
Download:
Link_1
0 comments: