Follow this link… It will help… ![]()
https://stackoverflow.com/questions/28994148/how-can-i-include-bits-stdc-in-xcode
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:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
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.