标准C程序设计

当前位置:首页 > 教材 > 征订教材 > 标准C程序设计

出版社:清华大学出版社
出版日期:2006-6
ISBN:9787302128311
作者:巴拉古鲁萨米
页数:493页

内容概要

作者:(印)巴拉古鲁萨米

书籍目录

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

作者简介

本书是印度各大学使用最广的C语言程序设计教材之一。
本书旨在教授读者如何使用C语言进行程序设计。全书贯彻了“用示例学习”的概念。在深入介绍了C语言的每个特性之后,给出了一个完整的示例程序,用于演示说明其应用。每章末尾的“案例学习”不仅介绍了把C语言的特性集成在一起的常用方法,而且还显示了它在实际生活中的应用。最后一章介绍了开发高效、无错误的C程序的一些指导原则。
本书第3版融入了过去10年中采用本书的学生和老师的很多反馈意见。
总之,本书的语言简洁易懂,示例非常丰富且具有很强的实际指导意义,是一本很好的C语言程序设计的教材。

图书封面


 标准C程序设计下载 精选章节试读



发布书评

 
 


精彩短评 (总计8条)

  •     我选用了这本书尝试作为C语言双语教学的教材,这本书讲得比较细,课后练习比较多,比较实用,但也有小部分内容过时了,总体来说还是不错的,也适合初学者。
  •     书里面太多的错误了,比如书中223页的,本应是strlen()函数,用来测字符数的,却被写成了ctrlen();还有第9页的,示例程序4:子例程的使用,那真的是会害死人的,才是书的开始啊,怎么会这样的;还有第十章,结构与联合的,更是不知怎么说好了,连个枚举都没说到,就算要把它放在别处,也不见得高明啊! 反正,是失望了,最不想说的一句了,卓越,你是否卖假书了。
  •     我想可能是翻译中出现的问题。英文原版一般都很考究的,我以前看过很多的中文翻译教材,难免笔误,不过对于这种计算机类的书一定要考就啊。很害人的,我刚开始学,9页的那个子程序很明显在int mul(int x,int y)后面少了“{”最后还要加个“}”
  •     要学c语言的可以看看
  •     just read it.
  •     要是你有一定的C基础或英文水准好就比较好,他是英文版的,要是有C基础阅读不是很难,
  •     本来是给某朋友讲的时候准备看的,结果没讲成,但是居然学到了类似模式匹配的神奇用法,自感觉碉堡了。
  •     这系列的书都挺细腻,讲解透彻,而且作为参阅资料不失为上佳选择。
 

外国儿童文学,篆刻,百科,生物科学,科普,初中通用,育儿亲子,美容护肤PDF图书下载,。 零度图书网 

零度图书网 @ 2024