C++程序设计

出版时间:2001-5  出版社:高等教育出版社  作者:戴尔  页数:752  字数:1085000  
Tag标签:无  

内容概要

本书从实用角度出发介绍了使用C++语言进行面向对象编程的方法和技巧。内容涵盖C++语言的数据类型、控制结构、语义语法分析以及软件开发方法,同时还列举了大量的实例,帮助读者加深对所学内容的理解和上机实践能力的提高。     本书在第一版基础上进行了修订,不仅在内容上进行了调整,增加了在编写第一版时认为比较超前而未选用的内容,同时还将C++版本升级为ISO/ANSI标准C++程序语言。每章在最前面提出本章学习要求,每章后配有快速测试、备考练习、编程热身练习和习题解答,便于读者把握每章重点和难点。本书可作为高等学校教材,也可供从事软件开发的技术人员学习参考。     内容:1. 程序设计与计算方法概述 2. C++句法、语义及程序开发流程 3. 数值类型、表达式及输出 4. 程序输入及软件设计方法 5. 条件、逻辑表达式及分支控制结构 6. 循环 7. 函数 8. 作用域、生命周期及函数的相关信息 9. 其他控制结构 10. 数据类型--系统提供类型和用户自定义类型 11. 结构类型、数据抽象和类 12. 数组 13. 基于数组的表 14. 面向对象的软件开发方法 15. 递归

书籍目录

1 Overview of Programming and Problem Solving      1.1 Overview of Programming    1.2 What is a Programming Language?      1.3 What is a Computer?     1.4 Ethics and Responsibilities in the Computer Profession     1.5  Problem-Solving Techniques         Summary    2 C++ Syntax and Semantics, and the Program development process     2.1 The Elements of C++ Programs      2.2 Program Construction    2.3 More About Output        Programming Example: Contest Letter      Testing and Debugging      Summary    3 Numeric Type, Expressions, and Output 3.1 Overview of C++ Data Types     3.2 Numeric Data Types     3.3 Declarations for Numeric Types     3.4 Simple Arithmetic Expressions     3.5 Compound Arithmetic Expressions     3.6 Function Calls and Library Functions     3.7 Formatting the Output     3.8 Additional string Operations      Programming Example: Map Measurements      Testing and Debugging      Summary    4 Program Input and the Software Design Process     4.1 Getting Data into Programs    4.2 Interactive Input/Output     4.3 Noninteractive Input/Output     4.4 File Input and Output     4.5 Input Failure     4.6 Software Design Methodologies    4.7 What Are Objects?      4.8 Object-Oriented Design     4.9 Functional Decomposition      Programming Example: Stretching a Canvas     Testing and Debugging       Summary    5 Conditions, Logical Expressions, and Selection Control Structures     5.1 Flow of Control     5.2 Conditions and Logical Expressions     5.3 The If Statement     5.4 Nested If Statements     5.5 Testing the State of an I/O Stream     Programming Example: Warning Notices      Testing and Debugging      Summary    Looping 6.1 The While Statement    6.2 Phase of Loop Execution     6.3 Loops Using the While Statement     6.4 How to Design Loops     6.5 Nested Login      Programming Example: Average Income by Gender      Testing and Debugging      Summary    7 Functions     7.1 Functional Decomposition wit Void Functions     7.2 An Overview of User-Defined Functions   7.3 Syntax and Semantics of Void Functions     7.4 Parameters     7.5 Designing Functions     Programming Example: Comparison of Furniture-Store Sales      Testing and Debugging      Summary    8 Scope, Lifetime, and More on Functions    9 Additional Control Structures    10 Simple Data Types: Built-In and User-Defined    11 Structured Types, Data Abstraction, and Classes    12 Arrays      13 Array-Based Lists  14 Object-Oriented Software Development   15 Recursion  Appendix A Reserved Words    Appendix B Operator Precedence    Appendix C A Selection of Standard Library Routines    Appendix D Using This Book with a Prestandard Version of C++    Appendix E Character Sets    Appendix F Program Style, Formatting, and Documentation    Glossary   Answers to Selected Exercises   Index

图书封面

图书标签Tags

评论、评分、阅读与下载


    C++程序设计 PDF格式下载


用户评论 (总计0条)

 
 

 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7