出版時(shí)間:2006-6 出版社:清華大學(xué)出版社 作者:巴拉古魯薩米 頁數(shù):493
Tag標(biāo)簽:無
內(nèi)容概要
本書是印度各大學(xué)使用最廣的C語言程序設(shè)計(jì)教材之一。 本書旨在教授讀者如何使用C語言進(jìn)行程序設(shè)計(jì)。全書貫徹了“用示例學(xué)習(xí)”的概念。在深入介紹了C語言的每個(gè)特性之后,給出了一個(gè)完整的示例程序,用于演示說明其應(yīng)用。每章末尾的“案例學(xué)習(xí)”不僅介紹了把C語言的特性集成在一起的常用方法,而且還顯示了它在實(shí)際生活中的應(yīng)用。最后一章介紹了開發(fā)高效、無錯(cuò)誤的C程序的一些指導(dǎo)原則。 本書第3版融入了過去10年中采用本書的學(xué)生和老師的很多反饋意見。 總之,本書的語言簡潔易懂,示例非常豐富且具有很強(qiáng)的實(shí)際指導(dǎo)意義,是一本很好的C語言程序設(shè)計(jì)的教材。
作者簡介
作者:(印)巴拉古魯薩米
書籍目錄
preface to the third editionpreface to the first edition1. Overview of C 1.1 History of C 1.2 Importance of C 1.3 Sample Program 1: Printing a Message 1.4 Sample Program 2: Adding Two Numbers 1.5 Sample Program 3: Interest Calculation 1.6 Sample Program 4: Use of Subroutines 1.7 Sample Program 5: Use of Math Functions 1.8 Basic Structure of C Programs 1.9 Programming Style 1.10 Executing a ‘C’ Program 1.11 Unix System 1.12 MS-DOS System Review Questions Programming Exercises 2. Constants, Variables, and Data Types 2.1 Introduction 2.2 Character Set 2.3 C Tokens 2.4 Keywords and Identifiers 2.5 Constants 2.6 Variables 2.7 Data Types 2.8 Declaration of Variables 2.9 Declaration of Storage Class 2.10 Assigning Values to Variables 2.11 Defining Symbolic Constants 2.12 Declaring a Variable as Constant 2.13 Declaring a Variable as Volatile 2.14 Overflow and Underflow of Data Case Studies Review Questions Programming Exercises 3. Operators and Expressions 3.1 Introduction 3.2 Arithmetic Operators 3.3 Relational Operators 3.4 Logical Operators 3.5 Assignment Operators 3.6 Increment and Decrement Operators 3.7 Conditional Operator 3.8 Bitwise Operators 3.9 Special Operators 3.10 Arithmetic Expressions 3.11 Evaluation of Expressions 3.12 Precedence of Arithmetic Operators 3.13 Some Computational Problems 3.14 Type Conversions in Expressions 3.15 Operator Precedence and Associativity 3.16 Mathematical Functions Case Studies Review Questions Programming Exercises 4. Managing Input and Output Operations 4.1 Introduction 4.2 Reading a Character 4.3 Writing a Character 4.4 Formatted Input 4.5 Formatted Output Case Studies Review Questions Programming Exercises 5. Decision Making and Branching 5.1 Introduction 5.2 Decision Making with if Statement 5.3 Simple if Statement 5.4 The if.....else Statement 5.5 Nesting of if....else Statements 5.6 The Else if Ladder 5.7 The Switch Statement 5.8 The ? : Operator 5.9 The Goto Statement Case Studies Review Questions Programming Exercises 6. Decision Making and Looping 6.1 Introduction 6.2 The While Statement 6.3 The do Statement 6.4 The for Statement 6.5 Jumps in Loops Case Studies Review Questions Programming Exercises 7. Arrays 8. Character Arrays and Strings9. User-defined Functions 10. Structures and Unions11. Pointers 12. File Management in C 13. Dynamic Memory Allocation and Linked Lists 14. The Preprocessor 15. Developing a C Program: Some Guidelines Appendix Ⅰ: Bit-level Programming Appendix Ⅱ: ASCII Values of Characters Appendix Ⅲ: ANSI C Library Functions Appendix Ⅳ: A Phone Book Bibliography Index
圖書封面
圖書標(biāo)簽Tags
無
評論、評分、閱讀與下載
標(biāo)準(zhǔn)C程序設(shè)計(jì) PDF格式下載