I recently came across bits/stdc++.h . However, it turns out that it isn’t there on OSX. Can someone please share the contents of the file with me, so that I can add this header file manually?
https://gcc.gnu.org/onlinedocs/gcc-4.7.0/libstdc++/api/a01457_source.html i think this may help you …
bits/stdc++.h is master file of c++. it includes all standard library file of c++. it saves time and clear confusion of which file should be used for the particular algorithm where it has some disadvantages like it increases compile time. for further information click on the link
Follow this link… It will help…
Mac OS X 10.9+ no longer uses GCC/libstdc++ but uses libc++ and Clang. After the XCode 6.0.1 update the headers are now located here:
To open this address follow these steps:
- Open Finder.
- Click Go on menu bar then click Go to folder or Press Command+Shift+G directly.
- Enter the path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
Now, get the stdc++.h file from here,then creat bits directory in the above long address, and copy the file stdc++.h to the bits directory.
Thanks a lot!