
最 低 价:¥24.50
定 价:¥35.00
作 者:(美)Brian W.Kernighan, Dennis M.Ritchie 著
出 版 社:机械工业出版社
出版时间:2006 年8月
I S B N:7111196260
| 第2版根据1987年制定的ANSIC标准做了适当的修订,引入了最新的语言形式,并增加了新的示例。通过简洁的描述、典型的示例,作者全面、系统、准确地讲述了C语言的各个特性以及程序设计的基本方法。对于计算机从业人员来说,本书是一本必读的程序设计语言方面的参考书。 |
| Brian W.Kernighan 贝尔实验室计算科学研究中心高级研究人员,著名的计算机科学家。他参加了UNIX系统、C语言、AWK语言和许多其他系统的开发,同时出版了许多在计算机领域具有影响的著作,包括《The Elements of Programming Style》、《The Practice of Programming》、《The UNIX Programming Environment》、《The AWK Language》、《Software Tools》等。. Dennis M.Ritchie 1967年加入贝尔实验室。他和Ken L.Thompson两人共同设计并实现的C语言改变了程序设计语言发展的轨迹,是程序设计语言发展过.. << 查看详细 |
| 序. 第1版序 introduetion chapter 1. a tutorial introduefion 1.1 getting staffed 1.2 variables and arithmctic expressions 1.3 the for statement 1.4 symbolic constants 1.5 character input and output 1.6 arrays 1.7 functions 1.8 arguments--call by value 1.9 character arrays 1.10 external variables and scope chapter 2. types, operators, and expressions 2.1 variable names 2.2 data types and sizes 2.3 constants 2.4 declarations 2.5 arithmetic operators .2.6 relational and logical operators 2,7 type conversions 2.8 increment and decrement operators 2.9 bitwise operators 2.10 assignment operators and expressions 2.11 conditional expressions 2.12 precedence and order of evaluation chapter 3. control flow 3.1 statements and blocks 3.2 if-else 3.3 else-lf 3.4 switch 3.5 loops--while and for 3.6 loops-- do-while 3.7 break and continue 3.8 goto and labels chapter 4. functions and program structure 4.1 basics of functions 4.2 functions returning non-integers 4.3 external variables 4.4 scope rules 4.5 header files 4.6 static variables 4.7 register variables 4.8 block structure 4.9 initialization 4.10 rocursi6n 4.11 the c preprocessor chapter 5. pointers and arrays 5.1 pointers and addresses .. 5.2 pointers and function arguments 5.3 pointers and arrays 5.4 address arithmetic 5.5 character pointers and functions 5.6 pointer arrays; pointers to pointers 5.7 multi-dimensional arrays 5.8 initialization of pointer arrays 5.9 pointers vs. multi-dimensional arrays 5.10 command-line arguments 5.11 pointers to functions 5.12 complicated declarations chapter 6. structures 6.1 basics of structures 6.2 structures and functions 6.3 arrays of structures 6.4 pointers to structures 6.5 self-referential structures 6.6 table lookup 6.7 typedef 6.8 unions 6.9 bit-fields chapter 7. input and output 7.1 standard input and output 7.2 formatted output-printf 7.3 variable-length argument lists 7.4 formatted input--scanf 7.5 file access 7.6 error handling-stderr and exit 7.7 line input and output 7.8 miscellaneous functions chapter 8. the unix system interface 8.1 file descriptors 8.2 low level i/o--read and write 8.3 open, creat, close, unlink 8.4 random access -- lseek 8.5 example--an implementation of fopen and getc 8.6 example--listing directories 8.7 example--a storage allocator appendix a. reference manual a1 introduction a2 lexieal conventions a3 syntax notation a4 meaning of identifiers a5 objects and lvalues a6 conversions a7 expressions a8 declarations a9 statements a10 external declarations a11 scopeand linkage a12 preprocessing a13 grammar appendix b. standard library bi input and output: [stdio.h] b2 character class tests: [ctype.h] b3 string functions: [string.h] b4 mathematical functions: [math.h] b5 utility functions: [stdlib.h] b6 diagnostics: [assert.h] b7 variable argument lists: [stdarg.h] b8 non-local jumps: [scrimp.h] b9 signals: [signal.h] b10 date and time functions: [time.h] b11 implementation-defined limits: [limits.h] and [float.h] appendix c. summary of changes index... |
商品评论(0条)