Solve ‘bits/stdc++.h’ file not found in macOs

Some times we run the c++ code in vscode but show the

‘bits/stdc++.h’ file not found error
We can follow the steps to fix it:
Step one :

check the gcc version

Step two :

go to InstalledDir path:

Step three :

Step Four :

Download this stdc++.h file. Download link

Step Five:

Now easily can compile.

Shariful Islam Nayon

Shariful Islam | Full Stack Python/Django Developer I am Linux lover self motivated software craftsman open source contributor.My interested area Data Structure,Algorithm,Big data,Machine learning Dhaka, Bangladesh http://nayon.net/

Leave a Reply


Your email address will not be published. Required fields are marked *