'bits/stdc++.h' file not found on mac

Answered

I have downloaded the stdc++.h file in bits folder and it was working fine, but after I updated Xcode on my mac, I started getting this error. I will be grateful is someone can help me.

1 comment
Comment actions Permalink

Hello!

You can install gcc compilers on macOS sing, for example, Homebrew (https://brew.sh/), and configure a toolchain to use them in `Preferences | Build, Execution, Deployment | Toolchains`.

`#include <bits/stdc++.h> ` should work fine in case of gcc.

0

Please sign in to leave a comment.