码迷,mamicode.com
首页 > 编程语言 > 详细

在vs中使用bits/stdc++.h的方法-转自CF

时间:2017-02-10 20:37:30      阅读:4154      评论:0      收藏:0      [点我收藏+]

标签:method   mingw   bsp   type   ima   its   clip   alt   http   

solution to include bits/stdc++.h in visual c++

 

By Tensor, 2 years ago, 技术分享, 技术分享

  • This is just a method i used to make me able to include bits/stdc++.h
  • in visual c++.
  • for those had minGW installed on PC :
  • C:\MinGW\mingw32\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits
  • copy this folder and then go to this adress
  • C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
  • paste your folder. go to your visual studio project type bits you will see
  • the auto-complete for the library and then choose stdc++.h
  • for those don‘t have minGW:
  • you should write your own header file and include all libraries in it then
  • go to C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
  • make new folder name it "bits" and name the header file stdc++.h
  • then paste it in "bits" folder.
  • Hope this helps!
  • Happy coding

在vs中使用bits/stdc++.h的方法-转自CF

标签:method   mingw   bsp   type   ima   its   clip   alt   http   

原文地址:http://www.cnblogs.com/stultus/p/6387630.html

(0)
(2)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!