C++: How to ProgramKEY BENEFIT: This comprehensive best-seller is aimed at readers with little or no programming experience. It teaches by presenting the concepts in the context of full working programs and takes an early-objects approach. The authors emphasize achieving program clarity through structured and object-oriented programming, software reuse and component-oriented software construction. KEY TOPICS: Introduction to Computers, the Internet and World Wide Web; Introduction to C++ Programming; Introduction to Classes and Objects; Control Statements: Part 1; Control Statements: Part 2; Functions and an Introduction to Recursion; Arrays and Vectors; Pointers and Pointer-Based Strings; Classes: A Deeper Look, Part 1; Classes: A Deeper Look, Part 2; Object-Oriented Programming: Inheritance; Object-Oriented Programming: Polymorphism; (Optional) ATM Case Study, Part 1: Object-Oriented Design with the UML; (Optional) ATM Case Study, Part 2: Implementing an Object-Oriented Design; Exception Handling; Templates; Operator Overloading; String and Array Objects; String Processing with Class string; Stream Input/Output; File and String Stream Processing; Searching and Sorting; Data Structures; Standard Template Library (STL); Bits, Characters, C-Strings and structs; Game Programming with Ogre; Boost Libraries, Technical Report 1 and C++0x; Other Topics; Operator Precedence and Associativity Chart; ASCII Character Set; Fundamental Types; Number Systems; C Legacy Code Topics; Preprocessor; UML 2: Additional Diagram Types; Using the Visual Studioreg; 2008 Debugger; Using the GNUtrade; C++ Debugger. MARKET: A useful reference for programmers. |
From inside the book
Results 1-3 of 95
Page 135
... grade from user cout << " Enter grade or -1 to quit : " ; cin >> grade ; // input grade or sentinel value // loop until sentinel value read from user while ( grade ! = -1 ) // while grade is not -1 52 53 54 55 56 57 58 59 60 61 { 62 63 ...
... grade from user cout << " Enter grade or -1 to quit : " ; cin >> grade ; // input grade or sentinel value // loop until sentinel value read from user while ( grade ! = -1 ) // while grade is not -1 52 53 54 55 56 57 58 59 60 61 { 62 63 ...
Page 308
... grade . Because the highest grade allowed is 100 , we begin by assuming that 100 is the lowest grade ( line 56 ) . Then , we compare each of the elements in the array to the lowest grade , looking for smaller values . Lines 59-64 in ...
... grade . Because the highest grade allowed is 100 , we begin by assuming that 100 is the lowest grade ( line 56 ) . Then , we compare each of the elements in the array to the lowest grade , looking for smaller values . Lines 59-64 in ...
Page 321
... grades of a particular row and compares each grade with lowGrade . If a grade is less than lowGrade , lowGrade is set to that grade . The outer for statement then increments the row subscript to 1. The elements of row 1 are compared ...
... grades of a particular row and compares each grade with lowGrade . If a grade is less than lowGrade , lowGrade is set to that grade . The outer for statement then increments the row subscript to 1. The elements of row 1 are compared ...
Contents
03_Cpphtp7e_CH_1138 | 1 |
04_Cpphtp7e_CH_23967 | 39 |
05_Cpphtp7e_CH_368108 | 68 |
27 other sections not shown
Other editions - View all
C++: How to Program Paul J. Deitel (Informatiker),Harvey Michael Deitel (Informatiker) No preview available - 2010 |
Common terms and phrases
algorithm argument array assignment auto_ptr base-class BasePlusCommission Employee BasePlusCommissionEmployee binary bytes C++ program C++ Standard Library Chapter char character class definition class GradeBook class template Commission Employee CommissionEmployee Common Programming Error const string constructor contains copy course name courseName cout create data members data structure declared default defined derived class destructor display double element end function end main end-of-file endl example exception handling execution function call function prototype function template grade header file implementation include iostream increment inheritance initialized input int main integer integers1 invoke iomanip iterator loop member function memory merge sort modify namespace std node null character object-oriented programming operand operator operator overloading output overloaded parameter perform priority_queue pseudocode recursive Section setCourseName setw Software Engineering Software Engineering Observation sort specified stack statement static stream manipulator strncmp variable vector virtual function void Write a program