cc++开发常用的头文件说明,可以详细参考代码中的注释

cc++开发常用的头文件说明,可以详细参考代码中的注释,第1张


/**************************************************************************
* Copyright (c) 2015-2024 [email protected]
*
* Author: [email protected]  QQ:23207689  WebChat: hybase
*         http://blog.csdn.net/zymill
*         http://github.com/zymill
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
*****************************************************************************
*/
//!c标准常用头文件
#include            //fopen/fwrite/fread/fprintf/printf/scanf等io函数
#include           //strtol/atoi/malloc/free/rand/abs等
#include           //va_start/va_end/va_arg
#include           //常用常量
#include           //memcpy/memset/strcpy/strlen/strncpy字符串等
 
#include             //sin/cos/pow/sqrt/ceil/floor等数学函数
#include             //定义关于时间的函数
#include            //字符isdigit/islower/tolower/toupper等
#include           //断言
#include            //错误码相关
#include           //内存相关
#include            //宽字符处理及输入/输出
#include           //宽字符分类
#include            //浮点数处理
#include           //对应各种运算符的宏
#include           //定义各种数据类型最值的常量
#include           //定义本地化C函数
#include           //异常处理支持setjmp/longjmp
#include           //信号机制支持signal/raise
 
//!C99增加的部分
#include          //复数处理
#include             //浮点环境
#include         //整数格式转换
#include          //布尔环境
#include           //整型环境
#include           //通用类型数学宏
 
//=====================================
//! 标准c++ 
#include          //STL通用算法
#include             //STL位集容器
#include                //STL映射容器
#include               //STL线性列表容器
#include             //STL动态数组容器
#include              //STL队列容器
#include                //STL集合容器
#include              //STL双端队列容器
#include             //STL通过分配器进行的内存分配
#include            //STL常用的数字 *** 作
#include              //STL堆栈容器
#include           //STL迭代器
#include            //STL通用模板类
#include         //STL定义运算函数(代替运算符)
#include             //字符处理
#include             //定义错误码
#include             //浮点数处理
#include            //对应各种运算符的宏
#include            //定义各种数据类型最值的常量
#include            //定义本地化函数
#include              //定义数学函数
#include            //复数类
#include            //信号机制支持
#include            //异常处理支持
#include            //不定参数列表支持
#include            //常用常量
#include             //定义输入/输出函数
#include            //定义杂项函数及内存分配函数
#include            //字符串处理
#include              //定义关于时间的函数
#include             //宽字符处理及输入/输出
#include            //宽字符分类
#include          //异常处理类
#include            //文件输入输出
#include             //定义各种数据类型最值常量
#include             //本地化特定信息
#include                //动态内存分配
#include            //参数化输入输出
#include                //基本输入输出支持
#include             //输入输出系统使用的前置声明
#include           //数据流输入输出
#include            //基本输入流
#include            //基本输出流
#include            //基于字符串的流
#include          //标准异常类
#include          //底层输入输出支持
#include             //字符串类
#include           //运行期间类型信息
#include           //对包含值的数组的 *** 作
 
//================================================
//! Linux系统头文件
#include           //chown/write/read/fsync/sleep/usleep/getpid等
#include              //异步I/O
#include           //消息队列
#include          //线程
#include            //执行调度
#include        //信号量
#include            //实时spawn接口
#include          //XSI STREAMS接口
#include            //事件跟踪
#include         //uint32_t/int64_t等
#include           //信号机制
#include            //open/create/fcntl等文件控制
#include          //文件名匹配类型
#include           //处理命令行参数。getopt()
#include             //路径名模式匹配类型
#include              //组文件
#include            //主机信息相关函数如:gethostbyname
#include              //口令文件
#include            //正则表达式
#include              //TAR归档值
#include          //终端I/O
#include            //文件时间
#include          //字符扩展类型
 
#include        //提供IP地址转换函数inet_addr,inet_aton
#include           //套接字本地接口
#include     //以太网数据结构:ether_addr,ether_header等
#include       //ether_arp的数据结构
#include       //数据结构sockaddr_in、函数htons等
#include       //和linux/ip.h相似,有iphdr数据结构,同时还包括timestamp结构
#include      //TCP协议定义
#include      //UDP协议定义
 
#include        //提供对I/O控制的函数
#include        //MAXHOSTNAMELEN/MAXDOMNAMELEN等定义
#include       //系统重启
#include        //系统mount
#include         //内存管理声明
#include       //Select函数
#include       //套接字
#include        //epoll事件
#include         //文件状态
#include        //进程时间
#include        //基本系统数据类型
#include           //UNIX域套接字定义
#include      //系统名
#include         //进程等待控制
#include          //IPC(命名管道)
#include          //消息队列
#include     //资源 *** 作
#include          //信号量
#include          //共享存储
#include      //文件系统信息
#include         //时间类型
#include        //附加的日期和时间定义
#include          //矢量I/O *** 作
#include     //系统重启
#include   //结构体 struct ethhdr
#include  //原始数据包的数据结构定义,包括sockaddr_pkt,sockaddr_ll
#include         //framebuffer
#include    //ethtool函数
#include    //socket
#include      //prctl 进程控制
#include           //目录函数opendir/closedir/readdir/readdir64等
 
//! 其他扩展头文件
#include             //cpio归档值  
#include            //动态链接
#include           //消息显示结构
#include              //文件树漫游
#include            //代码集转换使用程序
#include         //语言信息常量
#include           //模式匹配函数定义
#include         //货币类型
#include             //数据库 *** 作
#include         //消息类别
#include             //轮询函数
#include           //搜索表
#include          //字符串 *** 作
#include           //系统出错日志记录
#include         //用户上下文
#include           //用户限制
#include            //用户帐户数据库 

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/1498936.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-25
下一篇 2022-06-25

发表评论

登录后才能评论

评论列表(0条)

保存