0
点赞
收藏
分享

微信扫一扫

常见的c++自带头文件及常见功能其介绍

大明宫 2022-04-14 阅读 13
c++
#include<bits/stdc++.h>//集合了几乎所有的头文件
#include<iostream>//标准输入输出流
cin/*输入*/ cout/*输出*/
#include<cmath>//数学
abs acos asin atan ceil cos cosh exp floor log pow sin sinh sqrt tan tanh
#include<cstdio>//c语言的文件/控制台输入输出转至c++
//文件中
fclose fflush fgets fopen fprintf fputs freopen fscanf
//控制台
getchar gets printf putchar puts scanf sprintf sscanf
#include<fstream>//文件输入输出流
istream/*输入*/ ostream/*输出*/
#include<cstring>//字符串
memset strcat strcmp strcpy strlen strncat strncmpf strncpy strstr
#include<ctime>//时间
clock difftime mktime time asctime ctime gmtime localtime strftime
举报

相关推荐

0 条评论