solution to include bits/stdc++.h in Visual Studio 2019

Revision en2, by ashuvssut, 2020-01-21 21:58:05

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 make new folder name it "bits" and name the header file stdc++.h then paste it in "bits" folder. Hope this helps! Happy coding

Tags bits/stdc++.h, visual studio, header file, include header

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English ashuvssut 2020-01-21 22:18:13 6 Tiny change: ' folder.\nHope this helps!\nHappy co' -> ' folder.\n\n\nHope this helps!\n\nHappy co'
en4 English ashuvssut 2020-01-21 22:16:00 137 i have added the link for you to get the bits folder
en3 English ashuvssut 2020-01-21 21:59:27 10
en2 English ashuvssut 2020-01-21 21:58:05 10
en1 English ashuvssut 2020-01-21 21:57:21 900 Initial revision (published)