Tensor's blog

By Tensor, 5 years ago, In English,
  • 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
 
 
 
 
  • Vote: I like it
  • +28
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it +8 Vote: I do not like it

Thank you very much (1+from me)

»
5 years ago, # |
  Vote: I like it +8 Vote: I do not like it

so clever you are! Thank you!

»
23 months ago, # |
  Vote: I like it 0 Vote: I do not like it

u can download the bits folder here

»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

for Visual studio 2017 users .. you can add bits folder to this path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include

»
16 months ago, # |
  Vote: I like it 0 Vote: I do not like it

My biggest thanks!!

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks a lot, from all the students of Moscow University ACM group!

»
7 months ago, # |
  Vote: I like it -16 Vote: I do not like it

thanks a lot.

»
5 days ago, # |
  Vote: I like it -8 Vote: I do not like it

Thanks you