
| 本书第3版融入了过去10年中采用本书的学生和老师的很多反馈意见。本版的特点包括: 基于最新的C语言标准。 在本书的最后给出了4个完整的应用程序开发示例。 扩展讨论了C的指针。 每章后面的“谨记”一节给出了很有用的编程提示以及可能容易出错的问题。 20多个真实的开发案例,展示了C程序的设计过程。 80多个程序设计范例,向读者阐述了良好程序设计的基本原则。 还有200多个复习题和150多个项目设计题。 总之,本书的语言简洁易懂,示例非常丰富且具有很强的实际指导意义,是一本很好的C语言程序设计的教材。 |
| E Balagurusamy, former Vice Chancellor, Anna University, Chennai, is currently Member, Union Public Service Commission, New Delhi. He is a teacher, trainer, and consultant in the fields of Information Technology and Management. He holds an ME (Hons) in Electricai Engineering and Ph.D. in Systems Engineering from the Indian Institute of Technology, Roorkee. His areas of interest include Object-Oriented Software Engineering, Electronic Business, Te.. << 查看详细 |
| preface to the fourth edition lace to the fourth edition 1 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 y words and ldentiners 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 vi contents 2.14 overflow and underflow of data 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 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 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 review questions programming exercises contents 6 decision making and looping 7 arrays 8 character arrays and strings 9 user-defined functions 10 structures and unions 11 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 ⅱ: ascll values of characters appendix ⅲ: ansi c library functions appendix ⅳ: projects appendix ⅴ: c99 features bibliography |
商品评论(0条)