{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

C Primer Plus(第6版 英文版 套装上下册)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

C Primer Plus(第6版 英文版 套装上下册)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

经久不衰的C语言畅销经典教程
针对C11标准进行全面更新
上一版累计销量逾22万册
C语言领域的作品

本书是一本经过仔细测试、精心设计的完整C语言教程,它涵盖了C语言编程中的核心内容。本书作为计算机科学的经典著作,讲解了包含结构化代码和自顶向下设计在内的程序设计原则。
与以前的版本一样,作者的目标仍旧是为读者提供一本入门型、条理清晰、见解深刻的C语言教程。作者把基础的编程概念与C语言的细节很好地融合在一起,并通过大量短小精悍的示例同时演示一两个概念,通过学以致用的方式鼓励读者掌握新的主题。
每章末尾的复习题和编程练习题进一步强化了重要的信息,有助于读者消化那些难以理解的概念。本书采用了友好、易于使用的编排方式,不仅适合打算认真学习C语言编程的学生阅读,也适合那些精通其他编程语言,但希望更好地掌握C语言这门核心语言的开发人员阅读。
本书在之前版本的基础之上进行了全新升级,它涵盖了C语言新的进展以及C11标准的详细内容。本书还提供了大量深度与广度齐备的教学技术和工具,来提高你的学习。
本书包含如下内容:
详细完整地讨论了C语言的基础特性和附加特性;
清晰解释了使用C语言不同部分的时机,以及原因;
通过简洁、简单的示例加强读者的动手练习,以帮助一次理解一两个概念;
囊括了数百个实用的代码示例;
每章末尾的复习题和编程练习可以检测你的理解情况。
涵盖了C泛型编程,以提供大的灵活性。
Content Description

《C Primer Plus(第6版)英文版》详细讲解了C语言的基本概念和编程技巧。
《C Primer Plus(第6版)英文版》共17章。第1、2章介绍了C语言编程的预备知识。第3~15章详细讲解了C语言的相关知识,包括数据类型、格式化输入/输出、运算符、表达式、语句、循环、字符输入和输出、函数、数组和指针、字符和字符串函数、内存管理、文件输入输出、结构、位操作等。第16章、17章介绍C预处理器、C库和高级数据表示。本书以完整的程序为例,讲解C语言的知识要点和注意事项。每章末设计了大量复习题和编程练习,帮助读者巩固所学知识和提高实际编程能力。附录给出了各章复习题的参考答案和丰富的参考资料。
《C Primer Plus(第6版)英文版》可作为C语言的教材,适用于需要系统学习C语言的初学者,也适用于巩固C语言知识或希望进一步提高编程技术的程序员。
Author Description

Stephen Prata,在美国加州肯特菲尔得的马林学院教授天文、物理和计算机科学。他毕业于加州理工学院,在美国加州大学伯克利分校获得博士学位。他单独编写以及与他人合作编写的编程图书有十多本,其中包括C++Primer Plus和C Primer Plus,而且后者获得了计算机出版协会1990年度How—to计算机图书奖。
Catalogue

1 Getting Ready1
第1章 初识C语言
Whence C? / C语言的起源1
Why C? / 选择C语言的理由2
Design Features / 设计特性2
Efficiency / 高效性3
Portability / 可移植性3
Power and Flexibility / 强大而灵活3
Programmer Oriented / 面向程序员3
Shortcomings / 缺点4
Whither C? / C语言的应用范围4
What Computers Do / 计算机能做什么5
High-level Computer Languages and Compilers / 高级计算机语言和编译器6
Language Standards / 语言标准7
The First ANSI/ISO C Standard / 第1个ANSI/ISO C标准8
The C99 Standard / C99标准8
The C11 Standard / C11标准9
Using C: Seven Steps / 使用C语言的几个步骤9
Step 1: Define the Program Objectives / 第1步:定义程序的目标10
Step 2: Design the Program / 第2步:设计程序10
Step 3: Write the Code / 第3步:编写代码11
Step 4: Compile / 第4步:编译11
Step 5: Run the Program / 第5步:运行程序12
Step 6: Test and Debug the Program / 第6步:测试和调试程序12
Step 7: Maintain and Modify the Program / 第7步:维护和修改代码13
Commentary / 说明13
Programming Mechanics / 编程机制13
Object Code Files, Executable Files, and Libraries / 目标代码文件、可执行文件和库14
Unix System / Unix系统16
The GNU Compiler Collection and the LLVM Project / GNU编译器集合和LLVM项目18
Linux Systems / Linux系统18
Command-Line Compilers for the PC / PC的命令行编译器19
Integrated Development Environments (Windows) / 集成开发环境(Windows)19
The Windows/Linux Option / Windows/Linux21
C on the Macintosh / Macintosh中的C21
How This Book Is Organized / 本书的组织结构22
Conventions Used in This Book / 本书的约定22
Typeface / 字体22
Program Output / 程序输出23
Special Elements / 特殊元素24
Summary / 本章小结24
Review Questions / 复习题25
Programming Exercise / 编程练习25
2 Introducing C27
第2章 C语言概述
A Simple Example of C / 简单的C程序示例27
The Example Explained / 示例解释28
Pass 1: Quick Synopsis / 第1遍:快速概要30
Pass 2: Program Details / 第2遍:程序细节31
The Structure of a Simple Program / 简单程序的结构40
Tips on Making Your Programs Readable / 提高程序可读性的技巧41
Taking Another Step in Using C / 进一步使用C42
Documentation / 程序说明43
Multiple Declarations / 多条声明43
Multiplication / 乘法43
Printing Multiple Values / 打印多个值43
While You’re at It—Multiple Functions / 多个函数44
Introducing Debugging / 调试程序46
Syntax Errors / 语法错误46
Semantic Errors / 语义错误47
Program State / 程序状态49
Keywords and Reserved Identifiers / 关键字和保留标识符49
Key Concepts / 关键概念50
Summary / 本章小结51
Review Questions / 复习题51
Programming Exercises / 编程练习53
3 Data and C55
第3章 数据和C
A Sample Program / 示例程序55
What’s New in This Program? / 程序中的新元素57
Data Variables and Constants / 变量与常量数据59
Data: Data-Type Keywords / 数据:数据类型关键字59
Integer Versus Floating-Point Types / 整数和浮点数60
The Integer / 整数61
The Floating-Point Number / 浮点数61
Basic C Data Types / C语言基本数据类型62
The int Type / int类型62
Other Integer Types / 其他整数类型66
Using Characters: Type char / 使用字符:char类型71
The _Bool Type / _Bool类型77
Portable Types: stdint.h and inttypes.h / 可移植类型:stdint.h和inttypes.h77
Types float, double, and long double / float、double和long double79
Complex and Imaginary Types / 复数和虚数类型85
Beyond the Basic Types / 其他类型85
Type Sizes / 类型大小87
Using Data Types / 使用数据类型88
Arguments and Pitfalls / 参数和陷阱89
One More Example: Escape Sequences / 转义序列示例91
What Happens When the Program Runs / 程序运行情况91
Flushing the Output / 刷新输出92
Key Concepts / 关键概念93
Summary / 本章小结93
Review Questions / 复习题94
Programming Exercises / 编程练习97
4 Character Strings and Formatted Input/Output99
第4章 字符串和格式化输入/输出
Introductory Program / 前导程序99
Character Strings: An Introduction / 字符串简介101
Type char Arrays and the Null Character / char类型数组和null字符101
Using Strings / 使用字符串102
The strlen() Function / strlen()函数103
Constants and the C Preprocessor / 常量和C预处理器106
The const Modifier / const限定符109
Manifest Constants on the Job / 明示常量109
Exploring and Exploiting printf() and scanf() / printf()和scanf()112
The printf() Function / printf()函数112
Using printf() / 使用printf()113
Conversion Specification Modifiers for printf() / printf()的转换说明修饰符115
What Does a Conversion Specification Convert? / 转换说明的意义122
Using scanf() / 使用scanf()128
The * Modifier with printf() and scanf() / printf()和scanf()的*修饰符133
Usage Tips for printf() / printf()的用法提示135
Key Concepts / 关键概念136
Summary / 本章小结137
Review Questions / 复习题138
Programming Exercises / 编程练习140
5 Operators, Expressions, and Statements143
第5章 运算符、表达式和语句
Introducing Loops / 循环简介144
Fundamental Operators / 基本运算符146
Assignment Operator: = / 赋值运算符:=146
Addition Operator: + / 加法运算符:+149
Subtraction Operator: - / 减法运算符:-149
Sign Operators: - and + / 符号运算符:-和+150
Multiplication Operator: * / 乘法运算符:*151
Division Operator: / / 除法运算符:/153
Operator Precedence / 运算符优先级154
Precedence and the Order of Evaluation / 优先级和求值顺序156
Some Additional Operators / 其他运算符157
The sizeof Operator and the size_t Type / sizeof运算符和size_t类型158
Modulus Operator: % / 求模运算符:%159
Increment and Decrement Operators: ++ and -- / 递增和递减运算符:++和--160
Decrementing: -- / 递减运算符:--164
Precedence / 优先级165
Don’t Be Too Clever / 不要自作聪明166
Expressions and Statements / 表达式和语句167
Expressions / 表达式167
Statements / 语句168
Compound Statements (Blocks) / 复合语句(块)171
Type Conversions / 类型转换174
The Cast Operator / 强制类型转换运算符176
Function with Arguments / 带参数的函数177
A Sample Program / 示例程序180
Key Concepts / 关键概念182
Summary / 本章小结182
Review Questions / 复习题183
Programming Exercises / 编程练习187
6 C Control Statements: Looping189
第6章 C控制语句:循环
Revisiting the while Loop / 再探while循环190
Program Comments / 程序注释191
C-Style Reading Loop / C风格读取循环192
The while Statement / while语句193
Terminating a while Loop / 终止while循环194
When a Loop Terminates / 何时终止循环194
while: An Entry-Condition Loop / while:入口条件循环195
Syntax Points / 语法要点195
Which Is Bigger: Using Relational Operators and Expressions / 用关系运算符和表达式比较大小197
What Is Truth? / 什么是真199
What Else Is True? / 其他真值200
Troubles with Truth / 真值的问题201
The New _Bool Type / 新的_Bool类型203
Precedence of Relational Operators / 优先级和关系运算符205
Indefinite Loops and Counting Loops / 不确定循环和计数循环207
The for Loop / for循环208
Using for for Flexibility / 利用for的灵活性210
More Assignment Operators: +=, -=, *=, /=, %= / 其他赋值运算符:+=、-=、*=、/=、%=215
The Comma Operator / 逗号运算符215
Zeno Meets the for Loop / 当Zeno遇到for循环218
An Exit-Condition Loop: do while / 出口条件循环:do while220
Which Loop? / 如何选择循环223
Nested Loops / 嵌套循环224
Program Discussion / 程序分析225
A Nested Variation / 嵌套变式225
Introducing Arrays / 数组简介226
Using a for Loop with an Array / 在for循环中使用数组228
A Loop Example Using a Function Return Value / 使用函数返回值的循环示例230
Program Discussion / 程序分析232
Using Functions with Return Values / 使用带返回值的函数233
Key Concepts / 关键概念234
Summary / 本章小结235
Review Questions / 复习题236
Programming Exercises / 编程练习241
7 C Control Statements: Branching and Jumps245
第7章 C控制语句:分支和跳转
The if Statement / if语句246
Adding else to the if Statement / if else语句248
Another Example: Introducing getchar() and putchar() / 另一个示例:介绍getchar()和putchar()250
The ctype.h Family of Character Functions / ctype.h系列的字符函数252
Multiple Choice else if / 多重选择else if254
Pairing else with if / else与if配对257
More Nested ifs / 多层嵌套的if语句259
Let’s Get Logical / 逻辑运算符263
Alternate Spellings: The iso646.h Header File / 备选拼写:iso646.h头文件265
Precedence / 优先级265
Order of Evaluation / 求值顺序266
Ranges / 范围267
A Word-Count Program / 一个统计单词的程序268
The Conditional Operator: ?: / 条件运算符:?:271
Loop Aids: continue and break / 循环辅助:continue和break274
The continue Statement / continue语句274
The break Statement / break语句277
Multiple Choice: switch and break / 多重选择:switch和break280
Using the switch Statement / switch语句281
Reading Only the First Character of a Line / 只读每行的首字符283
Multiple Labels / 多重标签284
switch and if else / switch和if else286
The goto Statement / goto语句287
Avoiding goto / 避免使用goto287
Key Concepts / 关键概念291
Summary / 本章小结291
Review Questions / 复习题292
Programming Exercises / 编程练习296
8 Character Input/Output and Input Validation299
第8章 字符输入/输出和输入验证
Single-Character I/O: getchar() and putchar()
/ 单字符I/O:getchar()和putchar()300
Buffers / 缓冲区301
Terminating Keyboard Input / 结束键盘输入302
Files, Streams, and Keyboard Input / 文件、流和键盘输入303
The End of File / 文件结尾304
Redirection and Files / 重定向和文件307
Unix, Linux, and Windows Command Prompt Redirection / Unix、Linux和DOS重定向307
Creating a Friendlier User Interface / 创建更友好的用户界面312
Working with Buffered Input / 使用缓冲输入312
Mixing Numeric and Character Input / 混合数值和字符输入314
Input Validation / 输入验证317
Analyzing the Program / 分析程序322
The Input Stream and Numbers / 输入流和数字323
Menu Browsing / 菜单浏览324
Tasks / 任务324
Toward a Smoother Execution / 使执行更顺利325
Mixing Character and Numeric Input / 混合字符和数值输入327
Key Concepts / 关键概念330
Summary / 本章小结331
Review Questions / 复习题331
Programming Exercises / 编程练习332
9 Functions335
第9章 函数
Reviewing Functions / 复习函数335
Creating and Using a Simple Function / 创建并使用简单函数337
Analyzing the Program / 分析程序338
Function Arguments / 函数参数340
Defining a Function with an Argument: Formal Parameters / 定义带形式参数的函数342
Prototyping a Function with Arguments / 声明带形式参数函数的原型343
Calling a Function with an Argument: Actual Arguments / 调用带实际参数的函数343
The Black-Box Viewpoint / 黑盒视角345
Returning a Value from a Function with return / 使用return从函数中返回值345
Function Types / 函数类型348
ANSI C Function Prototyping / ANSI C函数原型349
The Problem / 问题所在350
The ANSI C Solution / ANSI的解决方案351
No Arguments and Unspecified Arguments / 无参数和未指定参数352
Hooray for Prototypes / 函数原型的优点353
Recursion / 递归353
Recursion Revealed / 演示递归354
Recursion Fundamentals / 递归的基本原理355
Tail Recursion / 尾递归356
Recursion and Reversal / 递归和倒序计算358
Recursion Pros and Cons / 递归的优缺点360
Compiling Programs with Two or More Source Code Files
/ 编译多源代码文件的程序361
Unix / Unix362
Linux / Linux362
DOS Command-Line Compilers / DOS命令行编译器362
Windows and Apple IDE Compilers / Windows和苹果的IDE编译器362
Using Header Files / 使用头文件363
Finding Addresses: The & Operator / 查找地址:&运算符367
Altering Variables in the Calling Function / 更改主调函数中的变量369
Pointers: A First Look / 指针简介371
The Indirection Operator: * / 间接运算符:*371
Declaring Pointers / 声明指针372
Using Pointers to Communicate Between Functions / 使用指针在函数间通信373
Key Concepts / 关键概念378
Summary / 本章小结378
Review Questions / 复习题379
Programming Exercises / 编程练习380
10 Arrays and Pointers383
第10章 数组和指针
Arrays / 数组383
Initialization / 初始化数组384
Designated Initializers (C99) / 指定初始化器(C99)388
Assigning Array Values / 给数组元素赋值390
Array Bounds / 数组边界390
Specifying an Array Size / 指定数组的大小392
Multidimensional Arrays / 多维数组393
Initializing a Two-Dimensional Array / 初始化二维数组397
More Dimensions / 其他多维数组398
Pointers and Arrays / 指针和数组398
Functions, Arrays, and Pointers / 函数、数组和指针401
Using Pointer Parameters / 使用指针形参404
Comment: Pointers and Arrays / 指针表示法和数组表示法407
Pointer Operations / 指针操作407
Protecting Array Contents / 保护数组中的数据412
Using const with Formal Parameters / 对形式参数使用const413
More About const / const的其他内容415
Pointers and Multidimensional Arrays / 指针和多维数组417
Pointers to Multidimensional Arrays / 指向多维数组的指针420
Pointer Compatibility / 指针的兼容性421
Functions and Multidimensional Arrays / 函数和多维数组423
Variable-Length Arrays (VLAs) / 变长数组(VLA)427
Compound Literals / 复合字面量431
Key Concepts / 关键概念434
Summary / 本章小结435
Review Questions / 复习题436
Programming Exercises / 编程练习439
11 Character Strings and String Functions441
第11章 字符串和字符串函数
Representing Strings and String I/O / 表示字符串和字符串I/O441
Defining Strings Within a Program / 在程序中定义字符串442
Pointers and Strings / 指针和字符串451
String Input / 字符串输入453
Creating Space / 分配空间453
The Unfortunate gets() Function / 不幸的gets()函数453
The Alternatives to gets() / gets()的替代品455
The scanf() Function / scanf()函数462
String Output / 字符串输出464
The puts() Function / puts()函数464
The fputs() Function / fputs()函数465
The printf() Function / printf()函数466
The Do-It-Yourself Option / 自定义输入/输出函数466
String Functions / 字符串函数469
The strlen() Function / strlen()函数469
The strcat() Function / strcat()函数471
The strncat() Function / strncat()函数473
The strcmp() Function / strcmp()函数475
The strcpy() and strncpy() Functions / strcpy()和strncpy()函数482
The sprintf() Function / sprintf()函数487
Other String Functions / 其他字符串函数489
A String Example: Sorting Strings / 字符串示例:字符串排序491
Sorting Pointers Instead of Strings / 排序指针而非字符串493
The Selection Sort Algorithm / 选择排序算法494
The ctype.h Character Functions and Strings / ctype.h字符函数和字符串495
Command-Line Arguments / 命令行参数497
Command-Line Arguments in Integrated Environments / 集成环境中的命令行参数500
Command-Line Arguments with the Macintosh / Macintosh中的命令行参数500
String-to-Number Conversions / 把字符串转换为数字500
Key Concepts / 关键概念504
Summary / 本章小结504
Review Questions / 复习题505
Programming Exercises / 编程练习508
12 Storage Classes, Linkage, and Memory Management511
第12章 存储类别、链接和内存管理
Storage Classes / 存储类别511
Scope / 作用域513
Linkage / 链接515
Storage Duration / 存储期516
Automatic Variables / 自动变量518
Register Variables / 寄存器变量522
Static Variables with Block Scope / 块作用域的静态变量522
Static Variables with External Linkage / 外部链接的静态变量524
Static Variables with Internal Linkage / 内部链接的静态变量529
Multiple Files / 多文件530
Storage-Class Specifier Roundup / 存储类别说明符530
Storage Classes and Functions / 存储类别和函数533
Which Storage Class? / 存储类别的选择534
A Random-Number Function and a Static Variable / 随机数函数和静态变量534
Roll’Em / 掷骰子538
Allocated Memory: malloc() and free() / 分配内存:malloc()和free()543
The Importance of free() / free()的重要性547
The calloc() Function / calloc()函数548
Dynamic Memory Allocation and Variable-Length Arrays / 动态内存分配和变长数组548
Storage Classes and Dynamic Memory Allocation / 存储类别和动态内存分配549
ANSI C Type Qualifiers / ANSI C类型限定符551
The const Type Qualifier / const类型限定符552
The volatile Type Qualifier / volatile类型限定符554
The restrict Type Qualifier / restrict类型限定符555
The _Atomic Type Qualifier (C11) / _Atomic类型限定符(C11)556
New Places for Old Keywords / 旧关键字的新位置557
Key Concepts / 关键概念558
Summary / 本章小结558
Review Questions / 复习题559
Programming Exercises / 编程练习561
13 File Input/Output565
第13章 文件输入/输出
Communicating with Files / 与文件进行通信565
What Is a File? / 文件是什么566
The Text Mode and the Binary Mode / 文本模式和二进制模式566
Levels of I/O / I/O的级别568
Standard Files / 标准文件568
Standard I/O / 标准I/O568
Checking for Command-Line Arguments / 检查命令行参数569
The fopen() Function / fopen()函数570
The getc() and putc() Functions / getc()和putc()函数572
End-of-File / 文件结尾572
The fclose() Function / fclose()函数574
Pointers to the Standard Files / 指向标准文件的指针574
A Simple-Minded File-Condensing Program / 一个简单的文件压缩程序574
File I/O: fprintf(), fscanf(), fgets(), and fputs()
/ 文件I/O:fprintf()、fscanf()、fgets()和fputs()576
The fprintf() and fscanf() Functions / fprintf()和fscanf()函数576
The fgets() and fputs() Functions / fgets()和fputs()函数578
Adventures in Random Access: fseek() and ftell()
/ 随机访问:fseek()和ftell()579
How fseek() and ftell() Work / fseek()和ftell()的工作原理580
Binary Versus Text Mode / 二进制模式和文本模式582
Portability / 可移植性582
The fgetpos() and fsetpos() Functions / fgetpos()和fsetpos()函数583
Behind the Scenes with Standard I/O / 标准I/O的机理583
Other Standard I/O Functions / 其他标准I/O函数584
The int ungetc(int c, FILE *fp) Function / int ungetc(int c, FILE *fp)函数585
The int fflush() Function / int fflush()函数585
The int setvbuf() Function / int setvbuf()函数585
Binary I/O: fread() and fwrite() / 二进制I/O:fread()和fwrite()586
The size_t fwrite() Function / size_t fwrite()函数588
The size_t fread() Function / size_t fread()函数588
The int feof(FILE *fp) and int ferror(FILE *fp) Functions
/ int feof(FILE *fp)和int ferror(FILE *fp)函数589
An fread() and fwrite() Example / 一个程序示例589
Random Access with Binary I/O / 用二进制I/O进行随机访问593
Key Concepts / 关键概念594
Summary / 本章小结595
Review Questions / 复习题596
Programming Exercises / 编程练习598
14 Structures and Other Data Forms601
第14章 结构和其他数据形式
Sample Problem: Creating an Inventory of Books / 示例问题:创建图书目录601
Setting Up the Structure Declaration / 建立结构声明604
Defining a Structure Variable / 定义结构变量604
Initializing a Structure / 初始化结构606
Gaining Access to Structure Members / 访问结构成员607
Initializers for Structures / 结构的初始化器607
Arrays of Structures / 结构数组608
Declaring an Array of Structures / 声明结构数组611
Identifying Members of an Array of Structures / 标识结构数组的成员612
Program Discussion / 程序讨论612
Nested Structures / 嵌套结构613
Pointers to Structures / 指向结构的指针615
Declaring and Initializing a Structure Pointer / 声明和初始化结构指针617
Member Access by Pointer / 用指针访问成员617
Telling Functions About Structures / 向函数传递结构的信息618
Passing Structure Members / 传递结构成员618
Using the Structure Address / 传递结构的地址619
Passing a Structure as an Argument / 传递结构621
More on Structure Features / 其他结构特性622
Structures or Pointer to Structures? / 结构和结构指针的选择626
Character Arrays or Character Pointers in a Structure
/ 结构中的字符数组和字符指针627
Structure, Pointers, and malloc() / 结构、指针和malloc()628
Compound Literals and Structures (C99) / 复合字面量和结构(C99)631
Flexible Array Members (C99) / 伸缩型数组成员(C99)633
Anonymous Structures (C11) / 匿名结构(C11)636
Functions Using an Array of Structures / 使用结构数组的函数637
Saving the Structure Contents in a File / 把结构内容保存到文件中639
A Structure-Saving Example / 保存结构的程序示例640
Program Points / 程序要点643
Structures: What Next? / 链式结构644
Unions: A Quick Look / 联合简介645
Using Unions / 使用联合646
Anonymous Unions (C11) / 匿名联合(C11)647
Enumerated Types / 枚举类型649
enum Constants / enum常量649
Default Values / 默认值650
Assigned Values / 赋值650
enum Usage / enum的用法650
Shared Namespaces / 共享名称空间652
typedef: A Quick Look / typedef简介653
Fancy Declarations / 其他复杂的声明655
Functions and Pointers / 函数和指针657
Key Concepts / 关键概念665
Summary / 本章小结665
Review Questions / 复习题666
Programming Exercises / 编程练习669
15 Bit Fiddling673
第15章 位操作
Binary Numbers, Bits, and Bytes / 二进制数、位和字节674
Binary Integers / 二进制整数674
Signed Integers / 有符号整数675
Binary Floating Point / 二进制浮点数676
Other Number Bases / 其他进制数676
Octal / 八进制677
Hexadecimal / 十六进制677
C’s Bitwise Operators / C按位运算符678
Bitwise Logical Operators / 按位逻辑运算符678
Usage: Masks / 用法:掩码680
Usage: Turning Bits On (Setting Bits) / 用法:打开位(设置位)681
Usage: Turning Bits Off (Clearing Bits) / 用法:关闭位(清空位)682
Usage: Toggling Bits / 用法:切换位683
Usage: Checking the Value of a Bit / 用法:检查位的值683
Bitwise Shift Operators / 移位运算符684
Programming Example / 编程示例685
Another Example / 另一个例子688
Bit Fields / 位字段690
Bit-Field Example / 位字段示例692
Bit Fields and Bitwise Operators / 位字段和按位运算符696
Alignment Features (C11) / 对齐特性(C11)703
Key Concepts / 关键概念705
Summary / 本章小结706
Review Questions / 复习题706
Programming Exercises / 编程练习708
16 The C Preprocessor and the C Library711
第16章 C预处理器和C库
First Steps in Translating a Program / 翻译程序的第一步712
Manifest Constants: #define / 明示常量:#define713
Tokens / 记号717
Redefining Constants / 重定义常量717
Using Arguments with #define / 在#define中使用参数718
Creating Strings from Macro Arguments: The # Operator
/ 用宏参数创建字符串:#运算符721
Preprocessor Glue: The ## Operator / 预处理器粘合剂:##运算符722
Variadic Macros: ... and _ _VA_ARGS_ _ / 变参宏:...和_ _VA_ARGS_ _723
Macro or Function? / 宏和函数的选择725
File Inclusion: #include / 文件包含:#include726
Header Files: An Example / 头文件示例727
Uses for Header Files / 使用头文件729
Other Directives / 其他指令730
The #undef Directive / #undef指令731
Being Defined—The C Preprocessor Perspective / 从C预处理器角度看已定义731
Conditional Compilation / 条件编译731
Predefined Macros / 预定义宏737
#line and #error / #line和#error738
#pragma / #pragma739
Generic Selection (C11) / 泛型选择(C11)740
Inline Functions (C99) / 内联函数(C99)741
_Noreturn Functions (C11) / _Noreturn函数(C11)744
The C Library / C库744
Gaining Access to the C Library / 访问C库745
Using the Library Descriptions / 使用库描述746
The Math Library / 数学库747
A Little Trigonometry / 三角问题748
Type Variants / 类型变体750
The tgmath.h Library (C99) / tgmath.h库(C99)752
The General Utilities Library / 通用工具库753
The exit() and atexit() Functions / exit()和atexit()函数753
The qsort() Function / qsort()函数755
The Assert Library / 断言库760
Using assert / assert的用法760
_Static_assert (C11) / _Static_assert(C11)762
memcpy() and memmove() from the string.h Library
/ string.h库中的memcpy()和memmove()763
Variable Arguments: stdarg.h / 可变参数:stdarg.h765
Key Concepts / 关键概念768
Summary / 本章小结768
Review Questions / 复习题768
Programming Exercises / 编程练习770
17 Advanced Data Representation773
第17章 高级数据表示
Exploring Data Representation / 研究数据表示774
Beyond the Array to the Linked List / 从数组到链表777
Using a Linked List / 使用链表781
Afterthoughts / 反思786
Abstract Data Types (ADTs) / 抽象数据类型(ADT)786
Getting Abstract / 建立抽象788
Building an Interface / 建立接口789
Using the Interface / 使用接口793
Implementing the Interface / 实现接口796
Getting Queued with an ADT / 队列ADT804
Defining the Queue Abstract Data Type / 定义队列抽象数据类型804
Defining an Interface / 定义一个接口805
Implementing the Interface Data Representation / 实现接口数据表示806
Testing the Queue / 测试队列815
Simulating with a Queue / 用队列进行模拟818
The Linked List Versus the Array / 链表和数组824
Binary Search Trees / 二叉查找树828
A Binary Tree ADT / 二叉树ADT829
The Binary Search Tree Interface / 二叉查找树接口830
The Binary Tree Implementation / 二叉树的实现833
Trying the Tree / 使用二叉树849
Tree Thoughts / 树的思想854
Other Directions / 其他说明856
Key Concepts / 关键概念856
Summary / 本章小结857
Review Questions / 复习题857
Programming Exercises / 编程练习858
A Answers to the Review Questions861
附录A 复习题答案
Answers to Review Questions for Chapter 1 / 第1章复习题答案861
Answers to Review Questions for Chapter 2 / 第2章复习题答案862
Answers to Review Questions for Chapter 3 / 第3章复习题答案863
Answers to Review Questions for Chapter 4 / 第4章复习题答案866
Answers to Review Questions for Chapter 5 / 第5章复习题答案869
Answers to Review Questions for Chapter 6 / 第6章复习题答案872
Answers to Review Questions for Chapter 7 / 第7章复习题答案876
Answers to Review Questions for Chapter 8 / 第8章复习题答案879
Answers to Review Questions for Chapter 9 / 第9章复习题答案881
Answers to Review Questions for Chapter 10 / 第10章复习题答案883
Answers to Review Questions for Chapter 11 / 第11章复习题答案886
Answers to Review Questions for Chapter 12 / 第12章复习题答案890
Answers to Review Questions for Chapter 13 / 第13章复习题答案891
Answers to Review Questions for Chapter 14 / 第14章复习题答案894
Answers to Review Questions for Chapter 15 / 第15章复习题答案898
Answers to Review Questions for Chapter 16 / 第16章复习题答案899
Answers to Review Questions for Chapter 17 / 第17章复习题答案901
B Reference Section905
附录B 参考资料
Section Ⅰ: Additional Reading / 参考资料Ⅰ:补充阅读905
Online Resources / 在线资源905
C Language Books / C语言书籍907
Programming Books / 编程书籍907
Reference Books / 参考书籍908
C++ Books / C++书籍908
Section Ⅱ: C Operators / 参考资料Ⅱ:C运算符908
Arithmetic Operators / 算术运算符909
Relational Operators / 关系运算符910
Assignment Operators / 赋值运算符910
Logical Operators / 逻辑运算符911
The Conditional Operator / 条件运算符911
Pointer-Related Operators / 与指针有关的运算符912
Sign Operators / 符号运算符912
Structure and Union Operators / 结构和联合运算符912
Bitwise Operators / 按位运算符913
Miscellaneous Operators / 混合运算符914
Section Ⅲ: Basic Types and Storage Classes
/ 参考资料Ⅲ:基本类型和存储类别915
Summary: The Basic Data Types / 总结:基本数据类型915
Summary: How to Declare a Simple Variable / 总结:如何声明一个简单变量917
Summary: Qualifiers / 总结:限定符919
Section Ⅳ: Expressions, Statements, and Program Flow
/ 参考资料Ⅳ:表达式、语句和程序流920
Summary: Expressions and Statements / 总结:表达式和语句920
Summary: The while Statement / 总结:while语句921
Summary: The for Statement / 总结:for语句921
Summary: The do while Statement / 总结:do while语句922
Summary: Using if Statements for Making Choices / 总结:if语句923
Summary: Multiple Choice with switch / 带多重选择的switch语句924
Summary: Program Jumps / 总结:程序跳转925
Section Ⅴ: The Standard ANSI C Library with C99 and C11 Additions
/ 参考资料Ⅴ:新增C99和C11的ANSI C库926
Diagnostics: assert.h / 断言:assert.h926
Complex Numbers: complex.h (C99) / 复数:complex.h(C99)927
Character Handling: ctype.h / 字符处理:ctype.h929
Error Reporting: errno.h / 错误报告:errno.h930
Floating-Point Environment: fenv.h (C99) / 浮点环境:fenv.h(C99)930
Floating-point Characteristics: float.h / 浮点特性:float.h933
Format Conversion of Integer Types: inttypes.h (C99) / 整数类型的格式转换:inttypes.h935
Alternative Spellings: iso646.h / 可选拼写:iso646.h936
Localization: locale.h / 本地化:locale.h936
Math Library: math.h / 数学库:math.h939
Non-Local Jumps: setjmp.h / 非本地跳转:setjmp.h945
Signal Handling: signal.h / 信号处理:signal.h945
Alignment: stdalign.h (C11) / 对齐:stdalign.h(C11)946
Variable Arguments: stdarg.h / 可变参数:stdarg.h947
Atomics Support: stdatomic.h (C11) / 原子支持:stdatomic.h(C11)948
Boolean Support: stdbool.h (C99) / 布尔支持:stdbool.h(C99)948
Common Definitions: stddef.h / 通用定义:stddef.h948
Integer Types: stdint.h / 整数类型:stdint.h949
Standard I/O Library: stdio.h / 标准I/O库:stdio.h953
General Utilities: stdlib.h / 通用工具:stdlib.h956
_Noreturn: stdnoreturn.h / _Noreturn:stdnoreturn.h962
String Handling: string.h / 处理字符串:string.h962
Type-Generic Math: tgmath.h (C99) / 通用类型数学:tgmath.h(C99)965
Threads: threads.h (C11) / 线程:threads.h(C11)967
Date and Time: time.h / 日期和时间:time.h967
Unicode Utilities: uchar.h (C11) / 统一码工具:uchar.h(C11)971
Extended Multibyte and Wide-Character Utilities: wchar.h (C99)
/ 扩展的多字节字符和宽字符工具:wchar.h(C99)972
Wide Character Classification and Mapping Utilities: wctype.h (C99)
/ 宽字符分类和映射工具:wctype.h(C99)978
Section Ⅵ: Extended Integer Types / 参考资料Ⅵ:扩展的整数类型980
Exact-Width Types / 精确宽度类型981
Minimum-Width Types / 最小宽度类型982
Fastest Minimum-Width Types / 最快最小宽度类型983
Maximum-Width Types / 最大宽度类型983
Integers That Can Hold Pointer Values / 可储存指针值的整型984
Extended Integer Constants / 扩展的整型常量984
Section Ⅶ: Expanded Character Support / 参考资料Ⅶ:扩展字符支持984
Trigraph Sequences / 三字符序列984
Digraphs / 双字符985
Alternative Spellings: iso646.h / 可选拼写:iso646.h986
Multibyte Characters / 多字节字符986
Universal Character Names (UCNs) / 通用字符名(UCN)987
Wide Characters / 宽字符988
Wide Characters and Multibyte Characters / 宽字符和多字节字符989
Section Ⅷ: C99/C11 Numeric Computational Enhancements
/ 参考资料Ⅷ:C99/C11数值计算增强990
The IEC Floating-Point Standard / IEC浮点标准990
The fenv.h Header File / fenv.h头文件994
The STDC FP_CONTRACT Pragma / STDC FP_CONTRACT编译指示995
Additions to the math.h Library / math.h库增补995
Support for Complex Numbers / 对复数的支持996
Section Ⅸ: Differences Between C and C++ / 参考资料Ⅸ:C和C++的区别998
Function Prototypes / 函数原型999
char Constants / char常量1000
The const Modifier / const限定符1000
Structures and Unions / 结构和联合1001
Enumerations / 枚举1002
Pointer-to-void / 指向void的指针1002
Boolean Types / 布尔类型1003
Alternative Spellings / 可选拼写1003
Wide-Character Support / 宽字符支持1003
Complex Types / 复数类型1003
Inline Functions / 内联函数1003
C99/11 Features Not Found in C++11 / C++11中没有的C99/C11特性1004

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book