Gary Bronson's A FIRST BOOK OF C++, Fourth Edition, takes a hands-on, applied approach to the first programming language course for students studying computer science. The book begins with procedural programming in C, and then gradually introduces object-oriented programming features and the C++ language syntax that enables first-time programmers to use them.
- Gives introductory programming students a solid foundation in the C++ programming language.
- Guides students through the syntax and semantics of C++ before introducing classes.
- Offers a variety of end-of-section problems, including skill-building and programming exercises.
- Highlights key concepts through the use of numerous diagrams.
- Point of Information boxes in each chapter contain useful technical points, tips, and programming tricks used by industry professionals.
- Contains programs and code that have been written, compiled, and tested with Microsoft Visual C++ .NET, which is available as an optional bundle.
- Fundamentals of software engineering are discussed from both procedural and object-oriented viewpoints.
- Each chapter contains a Common Programming Errors section that describes problems beginning C++ programmers encounter.
- The ANSI/ISO C++ iostream library and namespace mechanism are used in all programs.
- Exception handling is discussed in a separate section, with practical applications of exception handling included throughout the book.
- The C++ string class is covered.
- A thorough discussion is included of input data validation and functions to check the numerical data type of input items and allow reentering invalid numerical types.
- NEW! Part I has been restructured to include arrays, files, and pointers, so it can be used as the basis for a complete introductory semester course in C++.
- NEW! The four chapters covering object-oriented programming have been revised and moved to Part II so that they form a logical continuation from structured programming to object-oriented programming.
- NEW! More than 50 new exercises have been added, and each exercise is labeled to indicate its function (Practice, Program, Modify, Debug, Desk check, or For thought).
- NEW! Three new Chapter Supplements have been added to introduce the fundamentals of object-oriented design and the Unified Modeling Language (UML).
Part I: FUNDAMENTALS OF C++ PROGRAMMING.
1. Getting Started.
2. Data Types, Declarations, and Displays.
3. Assignment and Interactive Input.
6. Modularity Using Functions.
8. Arrays and Pointers.
9. I/O Streams and Data Files.
Part II: OBJECT-ORIENTED PROGRAMMING.
10. Introduction to Classes.
11. Adding Functionality to Your Classes.
12. Extending Your Classes.
13. The Standard Template Library.
Part III: ADDITIONAL TOPICS.
14. The string Class and Exception Handling.
15. Strings as Character Arrays.
16. Data Structures.
A: Operator Precedence Table.
B: ASCII Character Codes.
C: Bit Operations (online only; NOT in book).
D: Floating-Point Number Storage.
E: Solutions to Selected Exercises