出版時(shí)間:2013-1-1 出版社:機(jī)械工業(yè)出版社華章公司 作者:H. H. Tan,S. H. Or,Marian M. Y. Choy 頁數(shù):542
內(nèi)容概要
H.H.Tan,T.B.D'Orazio,S.H.Or Marian
M.Y.Choy所著的《C語言程序設(shè)計(jì)教程(英文版)》是一本優(yōu)秀的C語言程序設(shè)計(jì)教材。作者通過問題一解答方式來介紹C語言,內(nèi)容包括編程基礎(chǔ),變量、算術(shù)表示和輸入,輸出,C語言基礎(chǔ)——數(shù)學(xué)函數(shù)和字符文件輸入/輸出,選擇結(jié)構(gòu)和循環(huán),函數(shù),數(shù)組。字符串和指針,結(jié)構(gòu)和大型程序設(shè)計(jì)。書中既詳細(xì)介紹了C語言程序設(shè)計(jì)的基礎(chǔ)知識(shí),又結(jié)合實(shí)際應(yīng)用,給出了應(yīng)用編程實(shí)例。每個(gè)應(yīng)用編程實(shí)例都包含問題描述、算法、源代碼、評(píng)注和修改練習(xí)。此外,《C語言程序設(shè)計(jì)教程(英文版)》每章末還包含適量的練習(xí)。每一課都從一個(gè)示例程序開始:源代碼、注釋和輸出。通過了解這些代碼的細(xì)節(jié),可以加深讀者對(duì)C語言的理解。
作者簡介
作者:(美國)坦(H.H.Tan) (美國)S.H.Or (美國)Marian M.Y.Choy 坦(H.H.Tan),目前供職于Morrison Knudsen公司,T.B.D'Orazio目前是舊金山州立大學(xué)土木工程專業(yè)負(fù)責(zé)人。他們是本書所基于的《CProgramming for Engineering and Compt Jter Science》的原著者。新加入的開發(fā)本書的兩位作者是S.H.Or博士和MarianM.Y.Choy博士。 S.H.Or,香港中文大學(xué)計(jì)算機(jī)科學(xué)與工程系電腦游戲技術(shù)中心創(chuàng)始人和項(xiàng)目主管。他于1998年獲得香港中文大學(xué)博士學(xué)位,為大學(xué)一年級(jí)學(xué)生講授程序設(shè)計(jì)課程近20年。他的研究興趣是計(jì)算機(jī)圖形學(xué)、計(jì)算機(jī)視覺、多媒體和游戲開發(fā)。他是IEEE和ACM會(huì)員。 Marian M.Y.Choy,香港大學(xué)工程學(xué)院教學(xué)顧問。她熱愛教學(xué)并且積極參與教學(xué)活動(dòng)。她擁有澳大利亞新南威爾士大學(xué)博士學(xué)位。研究興趣是計(jì)算機(jī)教育、自適應(yīng)技術(shù)和圖像處理。
書籍目錄
Preface
Acknowledgements
About the Autho
Chapter1 Programming Fundamentals
Lesson1.1 Programming Languages
1.1.1 Assembly Language
1.1.2 High Level Languages
Lesson1.2 Software Engineering
1.2.1 Top-down Modular Design
Lesson1.3 The C Language, ANSI C and C Compile
1.3.1 C and ANSI C
1.3.2 ProgramDevelopment
Lesson1.4 Using Bits to Represent Characte and
Symbols, Intege, Real
Numbe, Addresses and Itructio
1.4.1 Characte and Symbols
1.4.2 Intege
1.4.3 Real Numbe
1.4.4 Hexadecimal and Octal Notatio
Lesson1.5 About This Textbook and How to Get The Most
Out of It
1.5.1 The Lesson
1.5.2 The Application Programs
Lesson1.6 Basic Structure
Lesson1.7 Formatting Output
Lesson1.8 More Escape Sequences
Lesson1.9 Basic Debugging
Chapter Review
Chapter2 Variables, Arithmetic Expressio and Input/Output
Lesson2.1 Variables: Naming, Declaring, Assigning and
Printing Values
Lesson2.2 Arithmetic Operato and Expressio
Lesson2.3 Reading Data from the Keyboard
Lesson2.4 Cotant Macros and More About Printing
Variable Values
Lesson2.5 Mixed Type Arithmetic, Compound Assignment,
Operator
Precedence and Type Casting
Chapter Review
Chapter3 The Basics of C - Math Functio and Character File
Input/Output
Lesson3.1 Math Library Functio
Lesson3.2 Single Character Data
Lesson3.3 Reading Data From a File
Lesson3.4 Writing Output To a File
Application Program3.1 Area Calculation -
Compound Operato and
ProgramDevelopment
Application Exercises
Chapter Review
Chapter4 Beginning Decision Making and Looping
Lesson4.1 If Control Structure and Relational
Expressio
Lesson4.2 Simple If-Else Control Structures
Lesson4.3 Nested If-Else Control Structures
Lesson4.4 Logical Expressio
Lesson4.5 Precedence of Logical Operato
Lesson4.6 Switch and If-Else-If Control
Structures
Lesson4.7 While Loop (1)
Lesson4.8 While Loop (2)
Lesson4.9 Do-While Loops
Lesson4.10 Simple For Loop
Lesson4.11 Nested For Loops
Application Program4.1 Girder Inteection -
If-Else Control Structure
Application Program4.2 Area Calculation - For
Loop
Application Program4.3 Temperature Unit
Conveio - For Loop
Application Program4.4 Temperature Unit
Conveio - Loop and If-Else
Control Structure
Application Program4.5 Simulation
Application Program4.6 Engineering
Economics - Nested For Loops
Application Program4.7 Solving a Quadratic
Equation - If-Else Control Structure
(Numerical Method Example)
Application Exercises
Chapter Review
Chapter5 Functio
Lesson5.1 Functio That Do Not Return a Value
Lesson5.2 Functio That Return Just One Value
Lesson5.3 Scope and Mechanics of Passing Values to
Functio
Lesson5.4 Functio That "Return" More Than One
Value
Lesson5.5 Mechanics of "Returning" More Than One Value
from a Function
Addresses and Pointer Variables
Application Program5.1 Using Functio With
Complex Loops and Working with Grids (a Logic Example)
Application Program5.2 Modular
ProgramDesign - Area of Parallelogram,
Volume of Parallelepiped (Numerical Method
Example)
Application Exercises
Chapter Review
Chapter6 Numeric Arrays
Lesson6.1 Introduction to -D Arrays and Printing Array
Elements
Lesson6.2 Array Initialisation
Lesson6.3 Basic Array Input/Output
Lesson6.4 Multidimeional Arrays
Lesson6.5 Functio and Arrays
Lesson6.6 Bubble Sort, Exchange Maximum Sort and
Exchange Minimum Sort*
Application Program6.1 Deriving a -bit
Adder from Sixteen -Bit Adde
Application Program6.2 Mean and Median of
Measured Wave Heights (Numerical Method Example)
Application Program6.3 Matrix-Vector
Multiplication (Numerical Method Example)
Application Program6.4 Searching and File
Compression
Application Exercises
Chapter Review
Chapter7 Strings and Pointe
Lesson7.1 Declaring, Initialising and Printing Strings
and Undetanding Memory Arrangement
Lesson7.2 Determining Information About Strings and
Characte and Using Prinff
Lesson7.3 -D Character Arrays
Lesson7.4 Reading Strings from The Keyboard and Files
Lesson7.5 Pointer Variables Veus Array Variables
Lesson7.6 Initialising Within a Declaration
Lesson7.7 Passing Strings to User-Defined
Functio
Lesson7.8 Standard Character String Functio
Lesson7.9 Pointer Notation Veus Array Notation
Lesson7.10 Dynamic Memory Allocation
ProgramDevelopment Methodology
Application Program7.1 Pipe Fluid
Velocity, Checking Input Data and Modular Design
Application Program7.2 Earthquake
Anecdotal Report Analysis, String
Operatio and Dynamic Storage Allocation
Application Exercises
Chapter Review
Chapter8 Structures and Large ProgramDesign
Part I: Data Structures
Structures in C
Lesson8.1 Structures
Lesson8.2 Structure Membe
Lesson8.3 Pointe to Struc~res
Lesson8.4 Structures and Functio
Lesson8.5 Arrays of Structures
Part II: Advanced Programming Techniques
Lesson8.6 Functio With One Recuive Call
Lesson8.7 Creating Header Files
Lesson8.8 Use of Multiple Source Code Files and Storage
Classes
Lesson8.9 Bitwise Manipulatio
Application Program8.1 Sorting - Quicksort
Algorithm
Chapter Review
Chapter9 An Introduction to C++ (Online Chapter)
Appendix A
Appendix B
Index
章節(jié)摘錄
版權(quán)頁: 插圖:
編輯推薦
《C語言程序設(shè)計(jì)教程(英文版)》以問題一解答方式清晰闡釋示例程序,便于讀者輕松掌握C語言的要點(diǎn)。使用大量圖片形象而生動(dòng)地解釋編程概念,有助于讀者快速理解和掌握C語言編程。通過應(yīng)用編程來說明C語言在求解工程問題和計(jì)算機(jī)科學(xué)問題方面的用處。每章后都提供修改練習(xí)和應(yīng)用練習(xí),便于讀者進(jìn)一步實(shí)踐和鞏固所學(xué)知識(shí)。
圖書封面
評(píng)論、評(píng)分、閱讀與下載