图书介绍
Unity着色器和屏幕特效开发秘笈PDF|Epub|txt|kindle电子书版本网盘下载
- (英)艾伦·朱科尼(Alan Zucconi),(美)肯尼斯·拉默斯(Kenneth Lammers)著 著
- 出版社: 北京:机械工业出版社
- ISBN:9787111564423
- 出版时间:2017
- 标注页数:208页
- 文件大小:10MB
- 文件页数:221页
- 主题词:游戏程序-程序设计
PDF下载
下载说明
Unity着色器和屏幕特效开发秘笈PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
Chapter One 引言1
1.1 C语言简史1
1.2 为什么程序员爱用C语言1
1.2.1 C is portable1
1.2.2 C is a structured programming language2
1.2.3 C is efficient2
1.2.4 C is flexible2
1.2.5 C is powerful2
1.2.6 C is concise3
1.3 开发C程序3
1.4 学习C语言程序设计的建议4
Chapter Two C数据类型6
2.1 常量6
2.2 变量6
2.3 简单的屏幕输出8
2.4 注释9
2.5 数据类型10
2.5.1 Short integer data types10
2.5.2 Long integer data types11
2.5.3 Unsigned integer data types11
2.5.4 Double floating-point data type11
2.6 数据类型的大小11
Programming pitfalls13
Quick syntax reference13
Exercises14
Chapter Three 简单的算术运算和表达式16
3.1 C运算符16
3.1.1 The assignment operator16
3.1.2 Arithmetic operators17
3.1.3 Increment and decrement operators19
3.1.4 Combined operators21
3.2 运算符优先级22
3.3 类型转换与强制类型转换24
Programming pitfalls26
Quick syntax reference27
Exercises27
Chapter Four 键盘输入和屏幕输出30
4.1 简单的键盘输入30
4.2 在函数printf()中使用域宽和精度说明31
4.3 单个字符的输入和输出33
Programming pitfalls35
Quick syntax reference35
Exercises36
Chapter Five 控制语句:if和switch38
5.1 if语句38
5.2 if-else语句39
5.3 逻辑运算符41
5.4 嵌套的if语句42
5.5 switch语句44
5.6 条件运算符46
Programming pitfalls47
Quick syntax reference48
Exercises48
Chapter Six 循环控制语句:while、do-while和for51
6.1 while语句51
6.2 do-while循环52
6.3 for语句54
6.4 嵌套的循环56
Programming pitfalls58
Quick syntax reference59
Exercises59
Chapter Seven 数组61
7.1 引言61
7.2 数组初始化66
7.3 二维数组67
7.4 二维数组的初始化68
7.5 多维数组69
Programming pitfalls70
Quick syntax reference70
Exercises70
Chapter Eight 指针73
8.1 变量的地址73
8.2 指针变量74
8.3 解引用运算符*75
8.4 为什么使用指针76
Programming pitfalls77
Quick syntax reference77
Exercises77
Chapter Nine 指针和数组79
9.1 指针和一维数组79
9.2 指针和多维数组81
9.3 动态内存分配82
9.3.1 The malloc()function82
9.3.2 The calloc()function85
9.3.3 The realloc()function86
9.3.4 Allocating memory for multi-dimensional arrays87
Programming pitfalls90
Quick syntax reference90
Exercises90
Chapter Ten 字符串93
10.1 字符串93
10.2 长字符串94
10.3 字符串和数组94
10.4 显示一个字符串95
10.5 puts()函数97
10.6 gets()函数98
10.7 访问字符串中的单个字符99
10.8 用字符串为字符指针赋值100
10.9 字符串处理函数101
10.9.1 Finding the length of a string101
10.9.2 Copying a string102
10.9.3 String concatenation102
10.9.4 Comparing strings102
10.9.5 Other string functions103
10.10 数值字符串向数值的转换103
10.11 字符串数组105
Programming pitfalls108
Quick syntax reference109
Exercises109
Chapter Eleven 函数112
11.1 引言112
11.2 函数参数114
11.3 从函数返回一个值116
11.4 按值传参118
11.5 按引用传参119
11.6 在函数中改变实参的值120
11.7 向函数传递一维数组121
11.8 向函数传递多维数组123
11.9 变量的存储类型124
11.9.1 auto124
11.9.2 static125
11.9.3 extern126
11.9.4 register128
11.10 命令行参数128
11.11 数学函数130
11.11.1 Some commonly used trigonometric functions130
11.11.2 Other common mathematical functions131
11.11.3 Pseudo-random number functions132
11.11.4 Some time-related functions132
11.12 递归133
Programming pitfalls136
Quick syntax reference137
Exercises137
Chapter Twelve 结构体141
12.1 定义结构体141
12.2 结构体指针144
12.3 结构体变量的初始化145
12.4 向函数传递结构体变量147
12.5 嵌套的结构体149
12.6 从文件中引用结构体模板150
12.7 typedef语句151
12.8 结构体数组152
12.9 枚举数据类型158
Programming pitfalls160
Quick syntax reference161
Exercises162
Chapter Thirteen 文件的输入和输出165
13.1 二进制文件和ASCII(文本)文件165
13.2 文件的打开和关闭166
13.3 使用函数fgetc()从文件中读字符168
13.4 使用函数fputc()向文件中写字符170
13.5 使用函数fgets()从文件中读字符串171
13.6 使用函数fputs()向文件中写字符串172
13.7 使用函数fscanf()和fprintf()进行文件的格式化读写173
13.8 标准文件174
13.9 使用函数fread()和fwrite()进行块读写175
13.10 使用函数rewind()对文件重定位177
13.11 使用函数fseek()随机访问文件179
13.12 使用函数ftell()查找文件的当前位置184
13.13 使用函数remove()删除文件184
Programming pitfalls185
Quick syntax reference186
Exercises187
Chapter Fourteen C编译预处理190
14.1 包含文件190
14.2 定义宏191
14.3 带参数的宏192
14.4 宏和函数194
14.5 一些有用的宏195
14.6 条件编译预处理指令195
14.7 字符检测宏196
14.8 assert()宏197
Programming pitfalls200
Quick syntax reference200
Exercises200
Appendix A List of C Keywords202
Appendix B Precedence and Associativity of C Operators203
Appendix C ASCII Character Codes205
Appendix D Fundamental C Built-in Data Types207