Exploring C++: The Programmer’s Introduction to C++
Book information
Description
Exploring C++ uses a series of self–directed lessons to divide C++ into bite–sized chunks that you can digest as rapidly as you can swallow them. The book assumes only a basic understanding of fundamental programming concepts (variables, functions, expressions, statements) and requires no prior knowledge of C or any other particular language. It reduces the usually considerable complexity of C++. The included lessons allow you to learn by doing, as a participant of an interactive education session. You'll master each step in one sitting before you proceed to the next. Author Ray Lischner has designed questions to promote learning new material. And by responding to questions throughout the text, you'll be engaged every step of the way. Front Matter....Pages i-xxxi Front Matter....Pages 1-1 Honing Your Tools....Pages 3-11 Reading C++ Code....Pages 13-20 Integer Expressions....Pages 21-26 Strings....Pages 27-31 Simple Input....Pages 33-38 Error Messages....Pages 39-43 For Loops....Pages 45-48 Formatted Output....Pages 49-57 Arrays and Vectors....Pages 59-69 Increment and Decrement....Pages 71-76 Conditions and Logic....Pages 77-84 Compound Statements....Pages 85-94 Introduction to File I/O....Pages 95-98 The Map Data Structure....Pages 99-104 Type Synonyms....Pages 105-107 Characters....Pages 109-114 Character Categories....Pages 115-122 Case-Folding....Pages 123-126 Writing Functions....Pages 127-135 Function Arguments....Pages 137-144 Front Matter....Pages 1-1 Using Algorithms....Pages 145-155 Overloading Function Names....Pages 157-162 Big and Little Numbers....Pages 163-171 Very Big and Very Little Numbers....Pages 173-179 Documentation....Pages 181-188 Project 1 : Body-Mass Index....Pages 189-191 Front Matter....Pages 193-193 Custom Types....Pages 195-202 Overloading Operators....Pages 203-212 Custom I/O Operators....Pages 213-217 Assignment and Initialization....Pages 219-226 Writing Classes....Pages 227-234 More About Member Functions....Pages 235-245 Access Levels....Pages 247-256 Introduction to Object-Oriented Programming....Pages 257-263 Inheritance....Pages 265-273 Virtual Functions....Pages 275-282 Classes and types....Pages 283-291 Declarations and Definitions....Pages 293-304 Using Multiple Source Files....Pages 305-319 Function objects....Pages 321-330 Front Matter....Pages 193-193 Useful algorithms....Pages 331-344 Iterators....Pages 345-356 Exceptions....Pages 357-371 More operators....Pages 373-383 Project 2: Fixed-point numbers....Pages 385-389 Front Matter....Pages 391-391 Function templates....Pages 393-403 Class templates....Pages 405-414 Template Specialization....Pages 415-422 Partial Specialization....Pages 423-427 Names and Namespaces....Pages 429-448 Containers....Pages 449-470 International Characters....Pages 471-479 Locales and Facets....Pages 481-494 Text I/O....Pages 495-507 Project 3: Currency type....Pages 509-509 Front Matter....Pages 511-511 Pointers....Pages 513-526 Dynamic Memory....Pages 527-543 Exception-Safety....Pages 545-556 Old-Fashioned arrays....Pages 557-565 Smart Pointers....Pages 567-580 Front Matter....Pages 511-511 Working with Bits....Pages 581-597 Enumerations....Pages 599-614 Multiple inheritance....Pages 615-627 Traits and Policies....Pages 629-643 Names and Templates....Pages 645-654 Overloaded Functions....Pages 655-667 Metaprogramming....Pages 669-678 Project 4: Calculator....Pages 679-680 Back Matter....Pages 681-711
Similar books
Beginning C: From Novice to Professional
2007 · PDF
The Definitive Guide to Apache MyFaces and Facelets
2008 · PDF
Kubernetes Microservices with Docker
2016 · PDF
C++ Standard Library Quick Reference
2016 · PDF
Java Design Patterns: A tour of 23 gang of four design patterns in Java
2016 · PDF
C++ 14 Quick Syntax Reference
2015 · PDF
Xamarin Mobile Application Development: Cross-Platform C# and Xamarin.Forms Fundamentals
2015 · PDF
Sudoku Programming with C
2015 · PDF