出版時間:2006-3 出版社:高等教育出版社 作者:戴利 頁數(shù):719 字數(shù):720000
Tag標簽:無
內(nèi)容概要
本書引進工作是在教育部高等教育司和高教社的共同組織下,由國內(nèi)信息科學技術(shù)領(lǐng)域的專家、教授廣泛參與,在對大量國外教材進行多次遴選的基礎(chǔ)上,參考了國內(nèi)和國外著名大學相關(guān)專業(yè)的課程設(shè)置進行系統(tǒng)引進的。其中,John
Wiley公司出版的貝爾實驗室信息科學研究中心副總裁Silberschatz教授的經(jīng)典著作《操作系統(tǒng)概念》,是我們經(jīng)過反復談判,做了很多努力才得以引進的。William
StaUings先生曾編寫了在美國深受歡迎的信息科學技術(shù)系列教材,其中有多種教材獲得過美國教材和學術(shù)著作者協(xié)會頒發(fā)的計算機科學與工程教材獎,這批引進教材中就有他的兩本著作。留美中國學者Jiawei
Han先生的《數(shù)據(jù)挖掘》是該領(lǐng)域中具有里程碑意義的著作。由達特茅斯學院Thomas
Cormen和麻省理工學院、哥倫比亞大學的幾位學者共同編著的經(jīng)典著作《算法導論》,在經(jīng)歷了11年的錘煉之后于2001年出版了第二版。目前任教于美國Massachusetts大學的James
Kurose教授,曾在美國三所高校先后l0次獲得杰出教師或杰出教學獎,由他主編的《計算機網(wǎng)絡(luò)》出版后,以其體系新穎、內(nèi)容先進而倍受歡迎。在努力降低引進教材售價方面,高等教育出版社做了大量和細致的工作?!禖++程序設(shè)計》體現(xiàn)了權(quán)威性、系統(tǒng)性、先進性和經(jīng)濟性等特點。
作者簡介
作者:(美國)戴利 (美國)維姆斯
書籍目錄
Preface
1 Ocerview of Programming and Problem Solving
1.1 Overview of Programming
How Do We Write a Program?
1.2 What is a Programming Language?
1.3 What is a Computer?
1.4 Problem-Solving Techniques
Ask Questions 15
Look For Things That Are Familiar
Solve by Analogy
Means-Ends Analysis
Divide and Conquer
The Building-Block Approach
Merging Solutions
Mental Blocks: The Fear of Starting
Algorithmic Problem Solving
Summary
Quick Check
Exam Preparation Exercises
Programming Warm-Up Exercises
2 C++ Syntax and Semantics, and the Program
Development Process
2.1 The Elements of C++ Programs
Syntax and Semantics
Syntax Templates
Naming Program Elements: Identifiers
Data and Data Types
Data Storage
The char Data Type
The string Data Type
Naming Elements: Declarations
Taking Action: Executable Statements
Beyond Minimalism: Adding Comments to a Program
2.2 Program Construction
Blocks (Compound Statements)
The C++ Preprocessor
An Introduction to Namespaces
2.3 More About Output
Creating Blank Lines
Inserting Blanks Within a Line
Programming Example
esting and Debugging
Summary
Quick Check
Exam Preparation Exercises
Programming Warm-Up Exercises
Programming Problems
Programming Example Follow-Up
3 Numeric Types,Expressions,and Output
4 Program Input and the Software Design Process
5 Conditions,Logical Expressions,and Selection Control
Structures
6 Looping
7 Functions
8 Scope,Liftime,and More on Functions
9 Additional Control Structures
10 Simple Data Types:Built-In and User-Defined
11 Structured Types,Date Abstraction,and Classes
12 Arrays
13 Array-Based Lists
14 Object-Orinted Software Development
15 Recursion
Glossary
Answers to Selected Exercises
Appendices
Index
章節(jié)摘錄
版權(quán)頁: 插圖: Much of human behavior and thought is characterized by logical sequences. Since infancy, you have been learning how to act, how to do things. And you have learned to expect certain behavior from other people. On a broader scale, mathematics never could have been developed without logical sequences of steps for solving problems and proving theorems. Mass production never would have worked without operations taking place in a certain order. Our whole civilization is based on the order of things and actions. We create order, both consciously and uncon-sciously, through a process we call programming. This book is concerned with the programming of one of our tools, the computer. Just as a concert program lists the order in which the players perform pieces, a computer program lists the sequence of steps the computer performs.From now on, when we use the words program-ming and program, we mean computer programming and computer program. The computer allows us to do tasks more effi-ciently, quickly, and accurately than we could by hand-if we could do them by hand at all. In order to use this powerful tool, we must specify what we want done and the order in which we want it done. We do this through programming.How Do We Write a Program? To write a program, we must go through a two-phase process: problem solving and implementation (see Figure 1-1). Problem-Solving Phase 1. Analysis and specification. Understand (define) the problem and what the solution must do. 2. General solution (algorithm). Develop a logical sequence of steps that solves the problem. 3. Verify. Follow the steps exactly to see if the solution really does solve the problem. Implementation Phase 1. Concrete solution (program). Translate the algorithm into a programming lan- guage. 2. Test. Have the computer follow the instructions. Then manually check the results. If you find errors, analyze the program and the algorithm to determine the source of the errors, and then make corrections.Once a program has been written, it enters a third phase: maintenance.
編輯推薦
《C++程序設(shè)計》是本全英文讀本。主要介紹了C++程序設(shè)計的內(nèi)容。由教育部高等教育司推薦,是國外優(yōu)秀信息科學與技術(shù)系列教學用書。值得大家注意。 《C++程序設(shè)計》的特點:權(quán)威性——教育等教育司推薦、教育部高等學校信息科學與技術(shù)引進教材專家組遴選。系統(tǒng)性——覆蓋計算機專業(yè)主干課程和非計算機基礎(chǔ)課程。先進性——著名計算機專家近兩年的最新著作,內(nèi)容體系先進。經(jīng)濟性——價格與國內(nèi)自編教材相當,是國內(nèi)引進教材價格最低的。一流的品質(zhì),優(yōu)惠的價格。
圖書封面
圖書標簽Tags
無
評論、評分、閱讀與下載