1.找到vc文件夹下的include文件夹

2.在include下创建一个stdc++.h头文件
文件中内容是引入其他头文件,如下:

//c
#ifndef _GLIBCXX_NO_ASSERT
#include<cassert>
#endif
#include<cctype>
#include<cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>#if __cplusplus >= 201103L
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdalign>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif// C++
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>#if __cplusplus >= 201103L
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif

3.在代码中引入#include<stdc++.h>即可。

解决VS中无法调用c++万能库stdc++.h相关推荐

  1. linux 下的动态库制作 以及在python 中如何调用 c 函数库

    linux 下的动态库制作 以及在python 中如何调用 c 函数库 动态库: 动态库又称动态链接库英文为DLL,是Dynamic Link Library 的缩写形式,DLL是一个包含可由多个程序 ...

  2. 解决64位进程调用32位库文件报错问题

    解决64位进程调用32位库文件报错问题 解决64位进程调用32位库文件报错问题 大家集成的apk如果使用了第三方32位lib库文件的话请按如下方法修改Android.mk文件:库文件的拷贝方式为: L ...

  3. 解决页面中引用了谷歌字体库访问缓慢的问题

    解决页面中引用了谷歌字体库访问缓慢的问题 这段时间做一个项目的时候遇到了页面访问谷歌字体库加载缓慢的问题.因为引用了别人的页面模板,其中需要使用到谷歌字体也就是: <link href=&quo ...

  4. Fluent UDF中直接调用CoolProp物性库

    众所周知,Fluent中自带的NIST真实气体(Real Gas Model)模型的收敛性不好一直是用户诟病的问题.所以,不少用户宁愿另外考虑调用三方物性库,例如RefProp或CoolProp,里面 ...

  5. 解决pycharm中安装不了tesserocr库的问题

    1.问题抛出 参考崔庆才的网络爬虫书时,在学习验证码识别那章,想起来要装tesseract和tesserocr库,安装tesseract版本为3.05.02,对应tesserocr版本为tessero ...

  6. MFC中LoadLibrary调用Qt动态库失败的原因

    今天在不同的电脑用mfc使用LoadLibrary调用qt的动态库,在某些电脑成功,某些电脑又失败.开始以为是宽字符的原因,造成字符串乱码.可以看到在UNICODE字符编码下,LoadLibrary实 ...

  7. pycharm中如何调用Anoconda的库

    pycharm安装之后可能不能调用Anaconda的库,可以设置一下就能用啦 (同样可以用类似的方法去调用tensorflow等库) Files>>settings>>Proj ...

  8. VScode找不到C++万能头文件<bits/stdc++.h>解决办法

    VScode找不到C++万能头文件<bits/stdc++.h>解决办法 一.万能头文件介绍 万能头文件<bits/stdc++> 中包含了 C++中大部分头文件,在大部分做题 ...

  9. C语言调用so动态库的两种方式

    方式1:类似静态库的调用(使用头文件) 这种方式生成的程序会在启动时候就加载so动态库. add.h int add(int x, int y); add.c #include "add.h ...

最新文章

  1. 《区块链原理、设计与应用》一1.4 潜在的商业价值
  2. Git之submodule使用总结
  3. TCP/IP协议族之运输层(TCP流量控制和拥塞控制 [1])
  4. ArrayList 与linkedlist区别
  5. ppt格式刷快捷键_为什么别人PPT做的比你快?因为你没掌握这些!
  6. Python 正则表达式(一)
  7. 亲密关系沟通-【主动性】觉察自我的力量
  8. 重新理解“失败是成功他妈”
  9. 二分法查找——C++代码
  10. 十五、Oracle学习笔记:序列(用于表字段值自增)
  11. 更改win7脱机文件夹位置
  12. Atitit 表达式原理 语法分析 原理与实践 解析java的dsl  递归下降是现阶段主流的语法分析方法...
  13. ofd文件怎么复制文字
  14. win10taskkill强行结束进程_win10系统强制结束进程命令的方案
  15. 利用python绘制太阳花
  16. MATLAB画颗圣诞树
  17. 【习题5】用Python完成新建文档写古诗+复制
  18. 植物大战僵尸——最强阵容
  19. android打包证书文件在线生成
  20. error LNK2001的解决方法

热门文章

  1. 别再眼高手低了! 这些Linq方法都清楚地掌握了吗?
  2. Java学生管理系统和数据库idea
  3. 逆势“赚钱”,VIPKID凭什么?
  4. iOS 录音pcm获取当前音量
  5. python03——成绩排名
  6. 第四模块 第一章 软件功能测试
  7. 推荐一个查询基金宏观数据
  8. 真正优秀的人,从来都是不动声色
  9. 端口测试之-- nc
  10. Django后台数据导出为excel并下载