E-Book, Englisch, 725 Seiten
Lischner Exploring C++
1. ed
ISBN: 978-1-4302-0352-0
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
The Programmer's Introduction to C++
E-Book, Englisch, 725 Seiten
ISBN: 978-1-4302-0352-0
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
This is a book about learning by doing and is aimed at programmers familiar with programming, but not C++. The key exercises are not simply listed at the end of the chapter, but are integrated into the main text. Readers work hands-on throughout the book. Each lesson poses numerous questions, asking readers to write answers directly in the book. The book includes answers to all questions, so readers can check their work. These exercises are not simple cookbook-style recipes (e.g., 'Write a program to do xyz'). Instead, they are explorations-structured labs that guide readers through a series of steps to highlight specific features of C++.
Ray Lischner has a bachelor's degree in computer science from Caltech and a master's in computer science from Oregon State University. He worked as a software developer for a dozen years, at big and small companies across the U.S., using PL/I, C, C++, Delphi, Smalltalk, and various assembly languages on both large and small systems. He has been self-employed as a consultant, trainer, and author for the last 10 years. Ray taught computer science at Oregon State University for several years and specialized in teaching introductory computer programming. He taught courses in C and C++ and software engineering.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;4
2;Contents;7
3;About the Author;21
4;About the Technical Reviewer;22
5;Acknowledgments;23
6;Introduction;24
7;Honing Your Tools;30
8;Reading C++ Code;39
9;Integer Expressions;47
10;Strings;53
11;Simple Input;58
12;Error Messages;64
13;For Loops;69
14;Formatted Output;73
15;Arrays and Vectors;82
16;Increment and Decrement;93
17;Conditions and Logic;99
18;Compound Statements;107
19;Introduction to File I/O;117
20;The Map Data Structure;121
21;Type Synonyms;127
22;Characters;130
23;Character Categories;136
24;Case-Folding;144
25;Writing Functions;148
26;Function Arguments;157
27;Using Algorithms;165
28;Overloading Function Names;176
29;Big and Little Numbers;182
30;Very Big and Very Little Numbers;191
31;Documentation;198
32;Project 1: Body-Mass Index;206
33;Custom Types;210
34;Overloading Operators;218
35;Custom I/O Operators;228
36;Assignment and Initialization;233
37;Writing Classes;241
38;More About Member Functions;249
39;Access Levels;260
40;Introduction to Object-Oriented Programming;270
41;Inheritance;277
42;Virtual Functions;286
43;Classes and Types;294
44;Declarations and Definitions;303
45;Using Multiple Source Files;315
46;Function Objects;330
47;Useful Algorithms;340
48;Iterators;354
49;Exceptions;366
50;More Operators;381
51;Project 2: Fixed-Point Numbers;392
52;Function Templates;398
53;Class Templates;409
54;Template Specialization;419
55;Partial Specialization;427
56;Names and Namespaces;432
57;Containers;452
58;International Characters;474
59;Locales and Facets;483
60;Text I/O;497
61;Project 3: Currency Type;510
62;Pointers;512
63;Dynamic Memory;526
64;Exception-Safety;543
65;Old-Fashioned Arrays;555
66;Smart Pointers;564
67;Working with Bits;578
68;Enumerations;595
69;Multiple Inheritance;611
70;Traits and Policies;624
71;Names and Templates;639
72;Overloaded Functions;649
73;Metaprogramming;662
74;Project 4: Calculator;672
75;Index;674




