Sinopsis
Welcome to C++—a powerful computer programming language that’s
appropriate for technically oriented people with little or no programming
experience, and for experienced programmers to use in building substantial
information systems. You’ll learn object-oriented programming in
C++. You’ll create many C++ software objects that
model things in the real-world. C++ is one of today’s most popular software development
languages. This text provides an introduction to programming in C++11—the latest
version standardized through the International
Organization for Standardization (ISO)
and the International Electrotechnical
Commission (IEC)
C++ evolved from C, which was developed by Dennis Ritchie at
Bell Laboratories. C is available for most computers and is hardware
independent. With careful design, it’s possible to write C programs that are
portable to most computers.
The widespread use of C with various kinds of computers
(sometimes called hardware platforms)
unfortunately led to many variations. A standard version of C was needed. The
American National Standards Institute (ANSI) cooperated with the International
Organization for Standardization (ISO) to standardize C worldwide; the joint
standard document was published in 1990 and is referred to as ANSI/ISO 9899: 1990.
C11 is the latest ANSI standard for the C programming language.
It was developed to evolve the C language to keep pace with increasingly
powerful hardware and ever more demanding user requirements. C11 also makes C
more consistent with C++. For more information on C and C11, see our book C How to Program, 7/e and our C Resource Center (located at
www.deitel.com/C
).
C++, an extension of C, was developed by Bjarne Stroustrup in
1979 at Bell Laboratories. Originally called “C with Classes”, it was renamed to
C++ in the early 1980s. C++ provides a number of features that “spruce up” the C
language, but more importantly, it provides capabilities for object-oriented
programming.
You’ll begin developing customized, reusable classes and objects
in Chapter 3, Introduction to Classes, Objects and Strings. The
book is object oriented, where appropriate, from the start and throughout the
text.
We also provide an optional automated
teller machine (ATM) case study in Chapters
22–23, which contains a complete
C++ implementation. The case study presents a carefully paced
introduction to object-oriented design using the UML—an industry-standard
graphical modeling language for developing object-oriented systems. We guide you
through a friendly design experience intended for the novice..
Content
- Introduction
- Introduction to C++ Programming, Input/Output and Operators
- Introduction to Classes, Objects and Strings
- Control Statements: Part 1; Assignment, ++ and -- Operators
- Control Statements: Part 2; Logical Operators
- Functions and an Introduction to Recursion
- Class Templates array and vector; Catching Exceptions
- Pointers
- Classes: A Deeper Look; Throwing Exceptions
- Operator Overloading; Class string
- Object-Oriented Programming: Inheritance
- Object-Oriented Programming: Polymorphism
- Stream Input/Output: A Deeper Look
- File Processing
- Standard Library Containers and Iterators
- Standard Library Algorithms
- Exception Handling: A Deeper Look
- Introduction to Custom Templates
- Class string and String Stream Processing: A Deeper Look
- Bits, Characters, C Strings and structs
- Other Topics
- ATM Case Study, Part 1: Object-Oriented Design with the UML
- ATM Case Study, Part 2: Implementing an Object-Oriented Design
0 komentar:
Posting Komentar