没有合适的资源?快使用搜索试试~ 我知道了~
c语言核心技术(C in a Nutsbell)
5星 · 超过95%的资源 需积分: 44 58 下载量 116 浏览量
2009-04-08
13:10:23
上传
评论
收藏 4.7MB PDF 举报
温馨提示
试读
852页
C程序员在编写程序时手头一定要有这本书。在这本书中,C 语言专家 Peter Prinz和Tony Crawford为你提供大量的编程参考信息。全书叙述清晰,语句简洁,分析深刻。本书主题包括: C 语言的语法、GNU编译器选项、标准链接库函数、GDB和make、预处理指令、C99特色和扩充。 本书内容丰富,总共包含21章,能够让你深刻了解C 语言关键概念,比如类型转换、动态内存管理、指针处理等。想知道 GNU make 或 GNU 调试器的细节吗?本书开辟专门的章节来讲解。一书在手,程序开发会更加顺利!Peter 和 Tony 所编写的这本书会成为C语言程序员必备的工作利器!
资源推荐
资源详情
资源评论
C: In a Nutshell
By Tony raw ford, Peter rinz
...............................................
Publisher: O'Reilly
Pub Date: December 2005
ISBN: 0-596-00697-7
Pages: 618
T able of C ontents I ndex
Learning a language--any language--involves a process wherein you learn to rely less
and less on instruction and more increasingly on the aspects of the language you've
mastered. Whether you're learning French, Java, or C, at some point you'll set aside the
tutorial and attempt to converse on your own. It's not necessary to know every subtle
facet of French in order to speak it well, especially if there's a good dictionary available.
Likewise, C programmers don't need to memorize every detail of C in order to write good
programs. What they need instead is a reliable, comprehensive reference that they can
keep nearby. C in a Nutshell is that reference.
This long-awaited book is a complete reference to the C programming language and C
runtime library. Its purpose is to serve as a convenient, reliable companion in your
day-to-day work as a C programmer. C in a Nutshell covers virtually everything you
need to program in C, describing all the elements of the language and illustrating their
use with numerous examples.
The book is divided into three distinct parts. The first part is a fast-paced description,
reminiscent of the classic Kernighan & Ritchie text on which many C programmers cut
their teeth. It focuses specifically on the C language and preprocessor directives,
including extensions introduced to the ANSI standard in 1999. These topics and others
are covered:
Numeric constants
Implicit and explicit type conversions
Expressions and operators
Functions
Fixed-length and variable-length arrays
Pointers
Dynamic memory management
Input and output
The second part of the book is a comprehensive reference to the C runtime library; it
includes an overview of the contents of the standard headers and a description of each
standard library function. Part III provides the necessary knowledge of the C
programmer's basic tools: the compiler, the make utility, and the debugger. The tools
Page 1
C: In a Nutshell
By Tony raw ford, Peter rinz
...............................................
Publisher: O'Reilly
Pub Date: December 2005
ISBN: 0-596-00697-7
Pages: 618
T able of C ontents I ndex
Copyright
Preface
How This Book Is Organized
Further Reading
Conventions Used in This Book
Using Code Examples
Safari?Enabled
Your Questions and Comments
Acknow ledgments
Part I:?Language
Chapter 1.?Language Basics
Section 1.1.?Characteristics of C
Section 1.2.?The Structure of C Programs
Section 1.3.?Source Files
Section 1.4.?Comments
Section 1.5.?Character Sets
Section 1.6.?Identifiers
Section 1.7.?How the C Compiler Works
Chapter 2.?Types
Section 2.1.?Typology
Section 2.2.?Integer Types
Section 2.3.?Floating-Point Types
Section 2.4.?Complex Floating-Point Types (C99)
Section 2.5.?Enumerated Types
Section 2.6.?The Type void
Chapter 3.?Literals
Section 3.1.?Integer Constants
Section 3.2.?Floating-Point Constants
Section 3.3.?Character Constants
Section 3.4.?String Literals
Chapter 4.?Type Conversions
Section 4.1.?Conversion of Arithmetic Types
Section 4.2.?Conversion of Nonarithmetic Types
Chapter 5.?Expressions and Operators
Section 5.1.?How Expressions Are Evaluated
Section 5.2.?Operators in Detail
Section 5.3.?Constant Expressions
Chapter 6.?Statements
Section 6.1.?Expression Statements
Section 6.2.?Block Statements
Section 6.3.?Loops
Section 6.4.?Selection Statements
Section 6.5.?Unconditional Jumps
Chapter 7.?Functions
Section 7.1.?Function Definitions
Section 7.2.?Function Declarations
Section 7.3.?How Functions Are Executed
Section 7.4.?Pointers as Arguments and Return Values
Page 3
Section 7.5.?Inline Functions
Section 7.6.?Recursive Functions
Section 7.7.?Variable Numbers of Arguments
Chapter 8.?Arrays
Section 8.1.?Defining Arrays
Section 8.2.?Accessing Array Elements
Section 8.3.?Initializing Arrays
Section 8.4.?Strings
Section 8.5.?Multidimensional Arrays
Section 8.6.?Arrays as Arguments of Functions
Chapter 9.?Pointers
Section 9.1.?Declaring Pointers
Section 9.2.?Operations w ith Pointers
Section 9.3.?Pointers and Type Qualifiers
Section 9.4.?Pointers to Arrays and Arrays of Pointers
Section 9.5.?Pointers to Functions
Chapter 10.?Structures and Unions and Bit-Fields
Section 10.1.?Structures
Section 10.2.?Unions
Section 10.3.?Bit-Fields
Chapter 11.?Declarations
Section 11.1.?General Syntax
Section 11.2.?Type Names
Section 11.3.?typedef Declarations
Section 11.4.?Linkage of Identifiers
Section 11.5.?Storage Duration of Objects
Section 11.6.?Initialization
Chapter 12.?Dynamic Memory Management
Section 12.1.?Allocating Memory Dynamically
Section 12.2.?Characteristics of Allocated Memory
Section 12.3.?Resizing and Releasing Memory
Section 12.4.?An All-Purpose Binary Tree
Section 12.5.?Characteristics
Section 12.6.?Implementation
Chapter 13.?Input and Output
Section 13.1.?Streams
Section 13.2.?Files
Section 13.3.?Opening and Closing Files
Section 13.4.?Reading and Writing
Section 13.5.?Random File Access
Chapter 14.?Preprocessing Directives
Section 14.1.?Inserting the Contents of Header Files
Section 14.2.?Defining and Using Macros
Section 14.3.?Conditional Compiling
Section 14.4.?Defining Line Numbers
Section 14.5.?Generating Error Messages
Section 14.6.?The #pragma Directive
Section 14.7.?The _Pragma Operator
Section 14.8.?Predefined Macros
P
art II:?Standard Library
Chapter 15.?The Standard Headers
Section 15.1.?Using the Standard Headers
Section 15.2.?Contents of the Standard Headers
Chapter 16.?Functions at a Glance
Section 16.1.?Input and Output
Section 16.2.?Mathematical Functions
Section 16.3.?Character Classification and Conversion
Section 16.4.?String Processing
Section 16.5.?Multibyte Characters
Section 16.6.?Converting Betw een Numbers and Strings
Page 4
Section 16.7.?Searching and Sorting
Section 16.8.?Memory Block Handling
Section 16.9.?Dynamic Memory Management
Section 16.10.?Date and Time
Section 16.11.?Process Control
Section 16.12.?Internationalization
Section 16.13.?Nonlocal Jumps
Section 16.14.?Debugging
Section 16.15.?Error Messages
Chapter 17.?Standard Library Functions
_E
xit
abort
abs
acos
acosh
asctime
asin
asinh
assert
atan
atan2
atanh
atexit
atof
atoi
atol, atoll
bsearch
btow c
cabs
cacos
cacosh
calloc
carg
casin
casinh
catan
catanh
cbrt
ccos
ccosh
ceil
cexp
cimag
clearerr
clock
conj
copysign
cos
cosh
cpow
cproj
creal
csin
csinh
csqrt
ctan
ctanh
ctime
difftime
div
Page 5
剩余851页未读,继续阅读
资源评论
- wangjieest2012-05-16英文版我表示压力很大
- gavin_lv2016-01-23英文版,算是一次考验吧。中文版翻译不咋地
- chen17117867672016-04-13英文版,硬着头皮看
babahaomamahao
- 粉丝: 5
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功