Skip to content

maitysubhasis/bits-stdc-.h-for-mac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

bits-stdc-.h-for-mac

bits/stdc++ is a GNU GCC extension, whereas OS X uses the clang compiler. However, you can still make it work by manually creating the header file.

Steps

  • Inside the directory /usr/local/include/
  • Create a directory named bits (mkdir bits)
  • Create stdc++.h file (touch stdc++.h or vim stdc++.h)
  • Paste the contents of the stdc+.h file here

Now it should compile as expected

I have also included "using namespace std;" in this file. So, from now on you dont need to write it everytime you create a cpp file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%