- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
Based on the tenet that good habits are formed early, authors Behrouz Forouzan and Richard Gilberg emphasize the principles of structured programming and software engineering. Every complete program uses a consistent style. As programs are analyzed, styles and standards are further explained. Whenever possible, the authors develop the principle of a subject before they introduce the language implementation so the student understands the concept before dealing with the nuances of C++. Also, the vast array of figures and tables connects visually with students. By integrating software engineering principles and encouraging the student to resist the temptation to immediately code, the text builds a solid foundation in problem solving.
Contents
Introduction To Computers: Computer Systems; Computer Hardware; Computer Software; Computing Environments; Computer Languages; Writing, Editing, Compiling And Linking Programs; Program Execution; System Development; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Introduction To The C++ Language: Background; C++ Programs; Identifiers; Data Types; Variables; Constants; Coding Constants; Reading And Writing Data; Programming Examples; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Structure Of A C++ Program: Expressions; Precedence And Associativity; Side Effects; Evaluating Expressions; Mixed Type Expressions; Statements; Sample Programs; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Functions: Designing Structured Programs; Functions In C++; User-Defined Functions; Default Parameter Arguments; Standard Library Functions; Scope; A Programming Example - Calculator Program; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Selection - Making Decisions: Logical Data And Operators; Two-Way Selection; Multiway Selection; More Standard Library Functions; A Menu Program; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Repetition: Concept Of A Loop; Pre-Test And Post-Test Loops; Initialization And Updating; Event-Controlled And Counter-Controlled Loops; Loops In C++; Loop Examples; Other Statements Related To Looping; Looping Applications; Recursion; A Programming Example -The Calculator Program; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Text Files: Concept Of A File; Files And Streams; Standard Library Input/Output Functions; Formatting Input And Output; File Example; Character Input/Output Functions; Character Input/Output Examples; Detecting File Errors; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Arrays: Concepts; Using Arrays In C++; Arrays And Functions; Array Applications; Sorting; Searching; Two-Dimensional Arrays; Multidimensional Arrays; Programming Example - Calculate Row And Column Averages; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Pointers: Concepts; Pointer Variables; Accessing Variables Through Pointers; Pointer Declaration And Definition; Initialization Of Pointer Variables; Pointers And Functions; Pointers To Pointers; Compatibility; Lvalue And Rvalue; Pointer Applications; Arrays And Pointers; Pointer Arithmetic And Arrays; Passing An Array To A Function; Understanding Complicated Declarations; Memory Allocation Functions; Array Of Pointers; Programming Application; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets; Derived Types - Enumeration: Structure, And Union; The Type Definition (Typedef); Enumerated Types; Structure; Accessing Structures; Complex Structures; Array Of Structures; Unions; Tips And Common Programming Errors; Key Terms; Summary; Practice Sets. Classes.