noobCoder003's blog

By noobCoder003, history, 7 months ago, In English,

This is just a method i used to make me able to include bits/stdc++.h in visual studio 2019. for those had minGW installed on PC :

C:\MinGW\mingw32\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits

copy this 'bits' folder and then go to this address

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include

and paste your folder. go to your visual studio project and type bits you will see the auto-complete for the library and then choose bits\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\2019\Community\VC\Tools\MSVC\14.24.28314\include

i have added the bits folder to oneDrive you can fetch the file here-> https://1drv.ms/u/s!ApWwSDDAnudpgnxstyu5i_11-5mq?e=P75vtv

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
  • +6
  • Vote: I do not like it

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

Auto comment: topic has been updated by noobCoder003 (previous revision, new revision, compare).

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

Auto comment: topic has been updated by noobCoder003 (previous revision, new revision, compare).

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

YEES, now I don’t have to write a lot of libraries!

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

Wow it helped me thanks a lot

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

unordered_set is not working but set is working. any solution?

  • »
    »
    6 weeks ago, # ^ |
    Rev. 2   Vote: I like it +1 Vote: I do not like it

    You have to include it #include unordered_set same for unordered_map

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Dont wanna give credits to author of this post? Your post is almost the same as the linked post

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    bro, nobody uses Visual studio v12.0. that post is not updated from years. that solution doesnt work.