Book description
An Introduction to Programming by the Inventor of C++
Preparation for Programming in the Real World
The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field.
Focus on Fundamental Concepts and Techniques
The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code.
Programming with Todays C++ (C++11 and C++14)
The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks.
For BeginnersAnd Anyone Who Wants to Learn Something New
The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art.
Provides a Broad View
The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the authors website.
Table of contents
- Cover Page
- About This eBook
- Title Page
- Copyright Page
- Contents
- Preface
- Chapter 0 Notes to the Reader
- Chapter 1 Computers, People, and Programming
-
Part I The Basics
- Chapter 2 Hello, World!
- Chapter 3 Objects, Types, and Values
- Chapter 4 Computation
- Chapter 5 Errors
- Chapter 6 Writing a Program
- Chapter 7 Completing a Program
- Chapter 8 Technicalities: Functions, etc.
- Chapter 9 Technicalities: Classes, etc.
-
Part II Input and Output
- Chapter 10 Input and Output Streams
- Chapter 11 Customizing Input and Output
- Chapter 12 A Display Model
- Chapter 13 Graphics Classes
- Chapter 14 Graphics Class Design
- Chapter 15 Graphing Functions and Data
- Chapter 16 Graphical User Interfaces
-
Part III Data and Algorithms
- Chapter 17 Vector and Free Store
- Chapter 18 Vectors and Arrays
- Chapter 19 Vector, Templates, and Exceptions
-
Chapter 20 Containers and Iterators
- 20.1 Storing and processing data
- 20.2 STL ideals
- 20.3 Sequences and iterators
- 20.4 Linked lists
- 20.5 Generalizing vector yet again
- 20.6 An example: a simple text editor
- 20.7 vector, list, and string
- 20.8 Adapting our vector to the STL
- 20.9 Adapting built-in arrays to the STL
- 20.10 Container overview
- Chapter 21 Algorithms and Maps
-
Part IV Broadening the View
- Chapter 22 Ideals and History
- Chapter 23 Text Manipulation
- Chapter 24 Numerics
- Chapter 25 Embedded Systems Programming
- Chapter 26 Testing
- Chapter 27 The C Programming Language
-
Part V Appendices
-
Appendix A Language Summary
- A.1 General
- A.2 Literals
- A.3 Identifiers
- A.4 Scope, storage class, and lifetime
- A.5 Expressions
- A.6 Statements
- A.7 Declarations
- A.8 Built-in types
- A.9 Functions
- A.10 User-defined types
- A.11 Enumerations
- A.12 Classes
- A.13 Templates
- A.14 Exceptions
- A.15 Namespaces
- A.16 Aliases
- A.17 Preprocessor directives
-
Appendix A Language Summary
- Appendix B Standard Library Summary
- Appendix C Getting Started with Visual Studio
- Appendix D Installing FLTK
- Appendix E GUI Implementation
- Glossary
- Bibliography
- Index
Product information
- Title: Programming: Principles and Practice Using C++, 2nd Edition
- Author(s):
- Release date: May 2014
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133796759
You might also like
book
Programming: Principles and Practice Using C++, 3rd Edition
An Introduction to Programming by the Inventor of C++ Programming: Principles and Practice Using C++, Third …
book
The C++ Programming Language, 4th Edition
The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to …
book
A Tour of C++, 2nd Edition
In Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide …
book
A Tour of C++, 3rd Edition
In A Tour of C++, Third Edition, Bjarne Stroustrup provides an overview of ISO C++, C++20, …