Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000003818246 | DSK 1204 | Open Access Computer File | Diskette (Open Shelves) | Searching... |
Searching... | 30000003818287 | DSK 1204 | Open Access Computer File | Diskette (Open Shelves) | Searching... |
On Order
Summary
Summary
Aimed specifically at nonprogrammers, this text does not require C programming as a prerequisite. It guides readers through examples and over 300 tested and working programs to develop a firm understanding of the essentials of the C++ programming language. All basic programming concepts are explained (coding mathematical expressions, decision making, loops, and recursion). The text makes no comparisons between C and C++, instead covering all aspects of C++ programming in detail - from fundamental concepts to advanced topics. All C++ source code files are provided for the text's 300+ programs on a companion diskette, allowing readers to begin programming immediately without having to retype the examples from the book. It also provides detailed discussions of objects and classes to train readers in the most common coding methodologies and reveal to them the power of C++.
Table of Contents
1 C++ Fundamentals | p. 1 |
1.1 The C++ Environment | p. 2 |
1.2 Why C++? | p. 5 |
1.3 Program Structure | p. 7 |
1.4 Elements of C++ | p. 11 |
1.5 The cout Function | p. 14 |
1.6 Identifying Things | p. 17 |
1.7 Declaring Things | p. 19 |
1.8 Introduction to C++ Operators | p. 22 |
1.9 More cout | p. 26 |
1.10 Getting User Input with cin | p. 28 |
1.11 Program Debugging and Implementation: Common Programming Errors | p. 31 |
1.12 Application Program: Temperature Conversion | p. 36 |
1.13 Additional Application Programs | p. 43 |
2 Structured Programming | p. 55 |
2.1 Concepts of a Program Block | p. 56 |
2.2 Using Functions | p. 60 |
2.3 Inside a C++ Function | p. 67 |
2.4 Using Function Arguments | p. 72 |
2.5 Using #define Statements | p. 82 |
2.6 Program Debugging and Implementation: Making Your Own Header Files | p. 89 |
2.7 Application Program: AC Series RL Circuit | p. 94 |
3 Operations on Data and Decision Making | p. 109 |
3.1 Relational Operators | p. 110 |
3.2 The Open Branch | p. 114 |
3.3 The Closed Branch | p. 122 |
3.4 Bitwise Boolean Operations | p. 131 |
3.5 Logical Operations | p. 138 |
3.6 Conversion and Type Casting | p. 147 |
3.7 The switch Function | p. 148 |
3.8 One More switch and the Conditional Operator | p. 159 |
3.9 Program Debugging and Implementation | p. 164 |
3.10 Application Program: A Robot Troubleshooter | p. 166 |
3.11 Additional Application Programs | p. 176 |
4 Looping and Recursion | p. 191 |
4.1 The for Loop | p. 192 |
4.2 The while Loop | p. 198 |
4.3 The do while Loop | p. 202 |
4.4 Nested Loops | p. 207 |
4.5 Program Debugging and Implementation | p. 212 |
4.6 Recursion | p. 217 |
4.7 Application Program: Vending Machine | p. 220 |
4.8 Additional Application Programs | p. 224 |
5 Pointers, Scope, and Class | p. 239 |
5.1 Internal Memory Organization | p. 240 |
5.2 How Memory Is Used | p. 244 |
5.3 Pointers | p. 255 |
5.4 Passing Variables | p. 263 |
5.5 Scope of Variables | p. 272 |
5.6 Variable Class | p. 275 |
5.7 Program Debugging and Implementation | p. 279 |
5.8 Application Programs | p. 281 |
6 Strings | p. 293 |
6.1 Characters and Strings | p. 294 |
6.2 Initializing Strings | p. 299 |
6.3 Passing Strings Between Functions | p. 301 |
6.4 Working with String Elements | p. 304 |
6.5 String Handling Functions | p. 309 |
6.6 String Sorting | p. 319 |
6.7 Application Program: Text Formatter | p. 323 |
6.8 Additional Application Programs | p. 330 |
7 Numeric Arrays | p. 349 |
7.1 Numeric Arrays | p. 350 |
7.2 Introduction to Numeric Array Applications | p. 358 |
7.3 Sorting with Numeric Arrays | p. 363 |
7.4 Multidimensional Numeric Arrays | p. 382 |
7.5 Application Programs | p. 394 |
8 Data Structures | p. 413 |
8.1 Enumerating Types | p. 414 |
8.2 Naming Your Own Data Types | p. 418 |
8.3 Introduction to Data Structures | p. 423 |
8.4 More Data Structure Details | p. 428 |
8.5 Using unions and Structure Arrays | p. 435 |
8.6 Ways of Representing Structures | p. 444 |
8.7 Advanced Data Structures | p. 446 |
8.8 Application Program: MiniMicro | p. 470 |
8.9 Additional Application Programs | p. 473 |
9 Classes and Objects | p. 495 |
9.1 Classes and Objects | p. 496 |
9.2 Constructors and Destructors | p. 501 |
9.3 Multiple Objects of the Same Class | p. 511 |
9.4 Private Members and Friend Functions | p. 517 |
9.5 Inheritance, Virtual Functions, and Pure Virtual Functions | p. 524 |
9.6 Application Program: Card Casino | p. 534 |
9.7 Additional Application Programs | p. 541 |
10 Disk I/O | p. 555 |
10.1 Disk Input and Output | p. 556 |
10.2 More Disk I/O | p. 562 |
10.3 Streams, File Classes, and Command Line Arguments | p. 576 |
10.4 Application Program: Parts Database | p. 585 |
10.5 Additional Application Programs | p. 592 |
Appendix ASCII Character Set | p. 601 |
Answers | p. 603 |
Index | p. 637 |