Title:
C++ for business programming
Personal Author:
Publication Information:
Upper Saddle River, N.J. : Prentice Hall, 1999
Physical Description:
1 CD-ROM ; 12 cm
ISBN:
9780135775943
General Note:
Also available in printed version :(HF5548.5.C125 M64 1999)
Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010060342 | CP 4289 | Computer File Accompanies Open Access Book | Compact Disc Accompanies Open Access Book | Searching... |
Searching... | 30000010060341 | CP 4289 | Computer File Accompanies Open Access Book | Compact Disc Accompanies Open Access Book | Searching... |
On Order
Summary
Summary
Provides an introduction to C++ programming for beginning programming students, especially those majoring in Information Systems and Business. This work guides readers through complete descriptions of sample programs, including exercises along the way to help reinforce the important points of each chapter. It emphasises on business applications.
Table of Contents
Part I Basic C++ | p. 1 |
Chapter 1 Introduction to C++ | p. 3 |
1.1 Our First C++ Program | p. 5 |
1.2 Integers and Arithmetic | p. 21 |
1.3 Solving a Problem with Integers | p. 34 |
1.4 Other Integer Data Types | p. 39 |
Chapter 2 Real Numbers | p. 47 |
2.1 Real Number Variables and Constants | p. 48 |
2.2 Solving Problems with Real Numbers | p. 57 |
2.3 More On Arithmetic | p. 70 |
Chapter 3 Iteration | p. 83 |
3.1 Relation Conditions | p. 84 |
3.2 Indefinite Iteration: The while and do Statements | p. 87 |
3.3 Solving a Problem with Indefinite Iteration | p. 100 |
3.4 Definite Iteration | p. 109 |
3.5 Nested Loops | p. 123 |
Chapter 4 Decision Making | p. 134 |
4.1 Basic Decision Making | p. 135 |
4.2 Compound Conditions--The Logical Operators | p. 145 |
4.3 Nested if Statements | p. 153 |
4.4 The switch Statement | p. 168 |
Chapter 5 Functions | p. 182 |
5.1 The Function Concept | p. 183 |
5.2 User-Defined Functions That Return a Value | p. 199 |
5.3 Programs That Use Functions | p. 211 |
5.4 Macros and Inline Functions | p. 236 |
Chapter 6 Arrays | p. 249 |
6.1 Basic Concepts | p. 250 |
6.2 Processing an Array: for Loops | p. 257 |
6.3 Sorting an Array | p. 266 |
6.4 Multidimensional Arrays | p. 271 |
Chapter 7 Pointers and Strings | p. 283 |
7.1 Pointers | p. 284 |
7.2 Strings | p. 294 |
7.3 Arrays of Strings and Pointers | p. 308 |
Chapter 8 Pointers, Arrays, and Functions | p. 318 |
8.1 Pointers, Reference Variables, and Functions | p. 319 |
8.2 Arrays and Functions | p. 329 |
8.3 Strings and Functions | p. 338 |
8.4 The Standard Library String Functions | p. 346 |
8.5 Character Classification and Conversion Functions | p. 357 |
8.6 Dynamic Memory Allocation | p. 372 |
Chapter 9 User-Defined Data Types and Tables | p. 384 |
9.1 The typedef and enum Statements | p. 385 |
9.2 Structures | p. 392 |
9.3 Arrays of Structures: Tables | p. 400 |
9.4 Structures, Functions, and Pointers | p. 431 |
Part II Object-Oriented Programming | p. 451 |
Chapter 10 Classes and Objects | p. 453 |
10.1 Objects and Classes | p. 456 |
10.2 Constructors and Destructors | p. 476 |
10.3 Overloading, Default Arguments, and Function Templates | p. 489 |
Chapter 11 Manipulating Objects | p. 506 |
11.1 Using Arrays, Pointers, and Dynamic Memory Allocation | p. 507 |
11.2 The Copy Constructor | p. 515 |
11.3 Using const With Classes | p. 527 |
11.4 Objects, Functions, and Pointers | p. 545 |
11.5 Dynamic Allocation of Objects | p. 572 |
11.6 Static Data Members and Functions | p. 580 |
Chapter 12 Friends and Operator Overloading | p. 594 |
12.1 Friend Functions | p. 595 |
12.2 Overloading Basic Arithmetic Operators | p. 603 |
12.3 Overloading Assignment and the this Pointer | p. 611 |
12.4 Overloading the Insertion and Extraction Operators | p. 620 |
12.5 Overloading Compound Assignment Operators | p. 631 |
12.6 Overloading Relational Operators | p. 637 |
12.7 Overloading Unary Operators | p. 644 |
Chapter 13 Inheritance | p. 652 |
13.1 Inheritance | p. 653 |
13.2 Functions in Class Hierarchies | p. 671 |
13.3 Polymorphism | p. 683 |
13.4 Abstract Base Classes | p. 703 |
Chapter 14 Files | p. 720 |
14.1 Input/Output Streams | p. 721 |
14.2 Processing a File One Character at a Time | p. 723 |
14.3 Random Access Files | p. 749 |
14.4 Binary Sequential File Processing | p. 757 |
14.5 Random Record Input/Output | p. 767 |
Appendix A Computers and Data | p. 789 |
A.1 A model Computer System | p. 789 |
A.2 Data Representation--Characters | p. 792 |
A.3 Data Representation--Integers | p. 796 |
A.4 Data Representation--Real Numbers | p. 796 |
Exercises Appendix A | p. 797 |
Appendix B Program Control | p. 799 |
B.1 Sequence | p. 799 |
B.2 Selection | p. 800 |
B.3 Iteration | p. 804 |
B.4 Combinations | p. 808 |
Index | p. 811 |