作者: Samuel P. Harbison , Guy L. Steele
DOI:
关键词: Software portability 、 ANSI C 、 Computer science 、 Compiler 、 Programming language 、 Range (computer programming) 、 Software system 、 Unix 、 Object code 、 C11
摘要: From the Book: This text is a reference manual for C programming language. Our aim to provide complete discussion of language, run-time libraries, and style that emphasizes correctness, portability, maintainability. We expect our readers already understand basic concepts, many will have previous experience with C. In keeping format, we presented language in "bottom-up" order: lexical structure, preprocessor, declarations, types, expressions, statements, functions, run0time libraries. We included cross-references so can begin at any point. With Third Edition C: A Reference Manual fully integrated descriptions "traditional C" American National Standard X3.159-1989--"ANSI C." Many popular compilers--including, example, Microsoft IBM PC--have been moving toward ANSI some time. Even if these compilers are not conforming as write this, programmers using them better served by books cover C. For majority still non-ANSI implementations, short-changed traditional retained various shortcommings variations pre-ANSI may avoid less portable areas desired. careful note where differ given suggestions writting programs between two languages. We also taken opportunity afforded this edition make more extensive changes text. added studyproblems most chapters Part 1 test their understanding tables highlight features readable. Finally, examples illustrate use library facilities 2. To keep book reasonable length, shortened tedious discussions minor technical points, eliminated end contained separate large example program. The description now into main text, there software engineering textbooks treat problems buuilding systems depth. This grew out work Tartan Laboratories developing family wide range computers, from micros supermainframes. wanted be well documented, precise helpful error diagnostics, generate exceptionally efficient object code. program compiles correctly one compiler must compile under al others, insofar hardware differences allow. In spite C's popularity, increasing number primers introductory texts on C, found was no enough guide us designing new compilers. Similarly, existinf programmer/customers, who would analized thoroughly than custom. especially sensitive affect clarity, code efficiency, portability among different environments, both UNIX non-UNIX.