Skip to main content

C++ For Dummies®, 4th Edition

C++ For Dummies®, 4th Edition

Stephen R. Davis

ISBN: 978-0-764-50746-5

Jul 2000

456 pages

Select type: Paperback

Product not available for purchase

Description

Unlike other C++ programming books, C++ For Dummies considers the "why" just as important as the "how." The features of C++ are like pieces of a jigsaw puzzle. Rather than just present the features, this book will help you to really understand how they fit together. After you finish this book, you'll be able to write a reasonable C++ program, and, just as important, you'll understand why and how it works.

C++, as the name implies, is the next generation of the C programming language. The experienced C programmer will find C++ both exciting and frustrating. This book will help you get from C to C++ as painlessly as possible; however, C++ For Dummies, 4th Edition, doesn't assume that the reader knows anything about C language. Anyone, from any programming background, will quickly discover how to

  • Write your first program
  • Create source code
  • Use the Visual C++ help system
  • Build objects
  • Develop C++ pointers
  • Debug your programs

This fourth edition of C++ For Dummies begins with basic programming concepts. The book works its way through simple syntax into the care and feeding of basic programs right into object-oriented concepts. Once you've digested the entire content of the book, you should have no trouble impressing your friends and acquaintances at parties. You'll find coverage of all these topics, and more:

  • Declaring variables
  • Performing logical operations
  • Executing loops in a program
  • Writing and using functions
  • Passing pointers to functions
  • Passing objects to functions
  • Using constructors and destructors
  • Declaring static member functions
  • Implementing abstract classes
  • Overloading the assignment operator

C++ For Dummies does not cover Windows programming. Finding out how to program Windows in C++ is really a two-step process. First, you need to master C++. That accomplished, you can move on to Windows programming.

Introduction.

PART I: Introducing C++ Programming.

Chapter 1: Writing Your First C++ Program.

Chapter 2: Declaring Variables Constantly.

Chapter 3: Performing Mathematical Operations.

Chapter 4: Performing Logical Operations.

Chapter 5: Controlling Program Flow.

PART II: Becoming a Functional Programmer.

Chapter 6: Creating Functions.

Chapter 7: Storing Sequences in Arrays.

Chapter 8: Taking a First Look at C++ Pointers.

Chapter 9: Taking a Second Look at C++ Pointers.

Chapter 10: Remaining Functional Features.

Chapter 11: Debugging C++.

PART III: Programming with Class.

Chapter 12: Examining Object-Oriented Programming.

Chapter 13: Adding Class to C++.

Chapter 14: Making Classes Work.

Chapter 15: Creating Pointers to Objects.

Chapter 16: Protecting Members: Do Not Disturb.

Chapter 17: Building and Tearing Down Objects: The Constructor and Destructor.

Chapter 18: Making Constructive Arguments.

Chapter 19: Copying the Copy Copy Copy Constructor.

Chapter 20: Static Members: Can Fabric Softener Help?

PART IV: Class Inheritance.

Chapter 21: Inheriting a Class.

Chapter 22: Examining Virtual Member Functions: Are They for Real?

Chapter 23: Factoring Classes.

PART V: Optional Features.

Chapter 24: Overloading Operators.

Chapter 25: Overloading the Assignment Operator.

Chapter 26: Using Stream I/O.

Chapter 27: Handling Errors — Exceptions.

Chapter 28: Inheriting Multiple Inheritance.

PART VI: The Part of Tens.

Chapter 29: Ten Ways to Avoid Adding Bugs to Your Program.

Chapter 30: The Ten Most Important Microsoft Visual C++ Compiler Settings.

Appendix A: About the CD-ROM.

Appendix B: Glossary.

Index.

Hungry Minds End-User License Agreement.

GNU General Public License.

Installation Instructions.

Book Registration Information.

ChapterPageDetailsDatePrint Run
CDTrouble running compiler on CD
Q: I am having trouble running the compiler that was included on the CD with Windows XP.

A: Please download the compiler at www.simtel.net/product/download/mirrors.php?ID=17456
10/1/02