C语言头文件封装.docx
- 文档编号:30359209
- 上传时间:2023-08-13
- 格式:DOCX
- 页数:19
- 大小:16.46KB
C语言头文件封装.docx
《C语言头文件封装.docx》由会员分享,可在线阅读,更多相关《C语言头文件封装.docx(19页珍藏版)》请在冰豆网上搜索。
C语言头文件封装
C语言头文件封装
需要注意的是,这样写出来的代码别人若没有你的这个头文件,别人使用不了你的代码!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
#ifndef_WSG_H_
//ifnodefine----如果没有定义xxx(_XXX_H_为格式,XXX内容自己取名)
#define_WSG_H_
//马上定义
//ISOC标准定义的`头文件(24项)
#include
//验证程序断言
#include
//支持复数算术运算
#include
//字符类型
#include
//出错码
#include
//浮点环境
#include
//浮点常量
#include
//整型格式转换
#include
//替代关系操作符宏
#include
//实现常量
#include
//局部类别
#include
//数学常量
#include
//非局部goto
#include
//信号
#include
//可变参数表
#include
//布尔类型和值
#include
//标准定义
#include
//整型
#include
//标准I/O库
#include
//实用程序库函数
#include
//字符串操作
#include
//通用类型数学宏
#include
//时间和日期
#include
//宽字符支持
#include
//宽字符分类和映射支持
//POSIX标准定义的必须的头文件(26项)
#include
//目录项
#include
//文件控制
#include
//文件名匹配类型
#include
//路径名模式匹配类型
#include
//组文件
#include
//网络数据库操作
#include
//口令文件
#include
//正则表达式
#include
//tar归档值
#include
//终端I/O
#include
//符号常量
#include
//文件时间
#include
//字扩展类型
#include
//Internet定义
#include
//套接字本地接口
#include
//Internet地址族
#include
//传输控制协议
#include
//内存管理声明
#include
//select函数
#include
//套接字接口
#include
//文件状态
#include
//进程时间
#include
//基本系统数据类型
#include
//UNIX域套接字定义
#include
//系统名
#include
//进程控制
//POSIX标准定义的XSI扩展头文件(26项)
#include
//cpio归档值
#include
//动态链接
#include
//消息显示结构
#include
//文件树漫游
#include
//代码集转换实用程序
#include
//语言信息常量
#include
//模式匹配函数定义
#include
//货币类型
//#include//数据库操作
#include
//消息类别
#include
//轮询函数
#include
//搜索表
#include
//字符串操作
#include
//系统出错日志记录
#include
//用户上下文
#include
//用户限制
#include
//用户帐户数据库
#include
//IPC
#include
//消息队列
#include
//资源操作
#include
//信号量
#include
//共享存储
#include
//文件系统信息
#include
//时间类型
#include
//附加的时间
#include
//矢量I/O操作
//POSIX标准定义的可选头文件(8项)
#include
//异步I/O
#include
//消息队列
#include
//线程
#include
//执行调度
#include
//信号量
#include
//实时spawn接口
#include
//XSISTREAMS接口
//#include//时间跟踪
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 语言 文件 封装
![提示](https://static.bdocx.com/images/bang_tan.gif)