GO
home account info subscribe login search FAQ/help site map contact us


 
Brief Full
 Advanced
      Search
 Search Tips
[an error occurred while processing this directive]
INTRODUCTION
ABOUT THE AUTHORS

Part I—Language Topics
CHAPTER 1—A QUICK INTRODUCTION TO THE LANGUAGE
1.1 Write the simplest C++ program without knowing the language?
1.2 Create a program to perform calculations?
1.3 Use the various loop statements that are available in C++?
1.4 Create a program that uses one or more functions?
1.5 Use the derived data types such as arrays and pointers?
1.6 Create data when the program is running?
1.7 Create a program to perform error handling, specifically exception handling?

CHAPTER 2—OBJECT ORIENTATION—THEORY AND PRACTICE
How do I...
2.1 Understand the object-oriented paradigm?
2.2 Learn the concept of inheritance so that I can apply it programmatically?
2.3 Learn the concept of encapsulation?
2.4 Learn the concept of polymorphism?

CHAPTER 3—OBJECT ORIENTATION—C++ SPECIFICS
3.1 Create a simple class in C++?
3.2 Implement the use of inheritance in C++?
3.3 Apply the use of encapsulation in a C++ program?
3.4 Implement polymorphism in C++?
3.5 Implement static members of a class?

Part II—Data Structures
CHAPTER 4—STRUCTURES VERSUS CLASSES
4.1 Create my own data type?
4.2 Hide my data from external programs?
4.3 Use encapsulation? What steps are required to encapsulate data?
4.4 Create my own operators?
4.5 Overload relational and equality operators?
4.6 Provide access to encapsulated data to certain classes?
4.7 Maintain global data in my program?
4.8 Know when I should use structures and when I should use classes?

CHAPTER 5—COMMON MISTAKES MADE WITH CLASSES
5.1 Know when to take an object-oriented approach or a procedural approach?
5.2 Use and access a class’s data members?
5.3 Use the scope resolution operator?
5.4 Use dot notation to access the member functions of an object?
5.5 Know which constructor to use when there are several to choose from?
5.6 Implement function overloading?
5.7 Correctly make use of inheritance?
5.8 Pass parameters back through the C++ inheritance mechanism to parent classes?
5.9 Distinguish between virtual classes and nonvirtual classes? How do I know when to use virtual classes and what does the word virtual mean in C++?

CHAPTER 6—TEMPLATE CLASSES
6.1 Create a template class to represent any simple data type and understand how to use the template in a working C++ program?
6.2 Create a template class to represent any simple data type and extend it to read in data to a variable of any data type?
6.3 Create a template class to represent a compound data type and understand how to use the template in a working C++ program?
6.4 Write a template class that has two undefined data types that can be resolved at a later time?
6.5 Use a template class to handle a structure?

CHAPTER 7—THE STANDARD TEMPLATE LIBRARY’S CONTAINER CLASSES
7.1 Create a container object that automatically grows or shrinks as needed?
7.2 Read a single element of a container?
7.3 Modify a single element of a container?
7.4 Use a generic LIFO data model?
7.5 Prevent automatic reallocation of a container?
7.6 Traverse through a container’s elements?
7.7 Implement a queue data model?

Part III—Algorithms
CHAPTER 8—THE STANDARD C LIBRARY’S INCLUDED ALGORITHMS
8.1 Sort an array?
8.2 Find an element in an array?
8.3 Locate an element in a nonsorted array?
8.4 Choose between_lfind and_lsearch?
8.5 Generate a sequence of random numbers?

CHAPTER 9—THE STANDARD TEMPLATE LIBRARY’S INCLUDED ALGORITHMS
9.1 Create classes for sequential containers?
9.2 Use predicates with sequence operations?
9.3 Repeat an action with all elements in a container range?
9.4 Compare two sequences?
9.5 Search for a sequence of values in a container?
9.6 Accumulate all container elements and create a sequence of accumulated sums?
9.7 Sort elements in a container using different sorting indexes?
9.8 Change the order of the container elements?

Part IV—Error Handling
CAHPTER 10—C-STYLE ERROR HANDLING
10.1 Handle runtime errors in my programs?
10.2 Use the standard C library functions perror and strerror and the predefined C macros to report runtime errors in my programs?
10.3 Use assert to catch errors in my code when running in debug mode?
10.4 Use raise and signal to indicate errors in my programs?
10.5 Use abort to terminate my application if a serious error occurs?
10.6 Use exit and atexit together to perform some action when my program terminates normally?
10.7 Detect errors that occur when reading from or writing to a file using the file functions provided with the Standard C Library?
10.8 Use setjmp and longjmp to maintain state when handling errors?
10.9 Use a C++ class to handle runtime errors in a more maintainable fashion?

CHAPTER 11—EXCEPTION HANDLING IN C++
11.1 Utilize the exception handling mechanism to process potential error conditions?
11.2 Use the various catch constructs such as multiple catch clauses, catch ordering, and the rethrowing of exceptions?
11.3 Implement and use an exception class?
11.4 Specify exceptions that a function will throw?
11.5 Handle exceptions that are not caught or not expected?

Part V—Memory Management
CHAPTER 12—NEW AND DELETE VERSUS MALLOC() AND FREE()
12.1 Use new and delete with the C malloc() and free() routines?
12.2 Use other C mem... routines on objects allocated with new?
12.3 Find out how much memory my structures and classes really take?
12.4 Prevent memory leaks caused by not using delete[] to delete arrays?
12.5 Override the new or delete operators for my classes?
12.6 Overload the new and delete functions for arrays?

CHAPTER 13—MEMORY MANAGEMENT TECHNIQUES USING CLASSES
13.1 Make a simple class to clean up dynamically allocated memory automatically?
13.2 Make a class that automatically cleans up objects allocated with new?
13.3 Make an object that deallocates itself when there is no more code referencing it?

Part VI—I/O
CHAPTER 14—UNDERSTANDING THE I/O STREAMS LIBRARY
14.1 Use the C Standard I/O Library with the C++ I/O streams library?
14.2 Make my own classes compatible with cin and cout?
14.3 Perform complex formatting with cout or another ostream object?
14.4 Make my own stream manipulators?

CHAPTER 15—FILE I/O
15.1 Open a file stream?
15.2 Continually read data until the end of file?
15.3 Handle stream errors?
15.4 Read and write binary files?
15.5 Read from or write to different positions in a file?

Part VII—Appendixes
Appendix A
Appendix B
INDEX

Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-1999 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.