Tag Archives: Mac VS Code fatal error

[Solved] Mac VS Code fatal error: ‘bits/stdc++.h‘ file not found

Baidu’s answer is too lame. Find a correct answer from stackeexchange and link to solve MAC fatal error: ‘bits/STDC + +.H’ file not found
follow the steps below

    1. brew install GCC — versioncd/library/Developer/commandlinetools/usr/bincd…/includesudo MKDIR bitscd bits create a new STDC + +.H file under downloads, paste the contents of the link STDC + +.H into the newly created STDC + +.H file under downloads sudo CP ~/Downloads/STDC + +. H STDC + +.H

be accomplished