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 87
Page 409
... Constructors with Default Arguments The program of Figs . 9.8–9.10 enhances class Time to demonstrate how arguments are im- plicitly passed to a constructor . The constructor defined in Fig . 9.2 initialized hour , min- ute and second ...
... Constructors with Default Arguments The program of Figs . 9.8–9.10 enhances class Time to demonstrate how arguments are im- plicitly passed to a constructor . The constructor defined in Fig . 9.2 initialized hour , min- ute and second ...
Page 487
... Constructor Line 14 of Fig . 11.6 declares the default constructor for the class and specifies a default size of 10 elements . When the compiler sees a declaration like line 10 in Fig . 11.8 , it invokes class Array's default ...
... Constructor Line 14 of Fig . 11.6 declares the default constructor for the class and specifies a default size of 10 elements . When the compiler sees a declaration like line 10 in Fig . 11.8 , it invokes class Array's default ...
Page 697
... constructor ? For example , how should an object's constructor respond when new fails because it was unable to allocate required memory for storing that object's internal representation ? Because the constructor cannot return a value to ...
... constructor ? For example , how should an object's constructor respond when new fails because it was unable to allocate required memory for storing that object's internal representation ? Because the constructor cannot return a value to ...
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