C: How to ProgramThe Deitels' groundbreaking "How to Program" series offers unparalleled breadth and depth of programming concepts and intermediate-level topics for further study. The books in this series feature hundreds of complete, working programs with thousands of lines of code. Includes strong treatment of structured algorithm and program development in ANSI/ISO C with 150 working C programs. New chapters added for C99 and game programming with the Allegro C Library. Includes rich, 300-page treatment of object-oriented programming in C++. Presents each new concept in the context of a complete, working program, immediately followed by one or more windows showing the program's input/output dialog. Enhances the "Live-Code Approach" with syntax coloring. Provides Helpful Programming Tips, all marked by icons: Good Programming Practices, Common Programming Errors, Error-Prevention Tips, Performance Tips, Portability Tips, Software Engineering Observations, Look and Feel Observations. A valuable reference for programmers and anyone interested in learning the C programming language. |
Contents
03_Chtp6e_CH_01122 | 1 |
04_Chtp6e_CH_022353 | 23 |
05_Chtp6e_CH_035496 | 54 |
Copyright | |
27 other sections not shown
Common terms and phrases
argument auto_ptr BasePlusCommission Employee BasePlusCommissionEmployee binary bitwise bytes C++ Standard Library Chapter class definition class GradeBook class template Commission Employee CommissionEmployee Common Programming Error compiler const string constructor contains conversion specifier courseName cout create data members data type decimal declared default defined derived class derived-class object destructor digits display double end function end main end-of-file endl example exception handling floating-point function call function main function prototype function template header file hexadecimal implementation include iostream include stdio.h increment indicates successful termination inheritance initialize input int main integer invoke loop malloc member function memory modify namespace std node NULL null character octal operand Operator Overloading output overloaded parameter perform printf recursive scanf Section Self-Review Exercises social security number Software Engineering Observation stack statement static stdio.h stored strcmp stream manipulator struct structure Sudoku symbolic constant variable virtual function void Write a program