You can do it by copying stdc++.h file from here:
https://gist.github.com/reza-ryte-club/97c39f35dab0c45a5d924dd9e50c445f
Then you can include the file in your c++ file like this:
//suppose the file is in your home folder, here my username is reza
#include "./stdc++.h"
Related Contents:
- Qt Creator – Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild
- Compiling simple Hello World program on OS X via command line
- Missing C++ header after updating OSX Command Line Tools 6.3
- Which macro to wrap Mac OS X specific code in C/C++
- What are the differences between .so and .dylib on macOS?
- Finding current executable’s path without /proc/self/exe
- How do you install Boost on MacOS?
- What is Objective C++? [closed]
- How can I compile and run C/C++ code in a Unix console or Mac terminal?
- “please check gdb is codesigned – see taskgated(8)” – How to get gdb installed with homebrew code signed?
- C++ IDE for Macs [closed]
- Can’t compile a C program on a Mac after upgrading to Catalina 10.15
- How to use Libraries
- Can I use C++11 with Xcode?
- How to Compile for OS X in Linux or Windows?
- static variable link error [duplicate]
- How to compile C++ with C++11 support in Mac Terminal
- How do I create a new C++ project in Xcode?
- Update GCC on OSX
- Where are clang-format and clang-format.py in Mac OS X with Xcode Command Line Tools installed?
- Catalina C++: Using headers yield error: no member named ‘signbit’ in the global namespace
- How to Detect the Number of Physical Processors / Cores on Windows, Mac and Linux
- macOS Clang C++17 filesystem header not found
- New to Xcode can’t open files in c++?
- How to get a “codesigned” gdb on OSX?
- Error when compiling some simple c++ code
- How to dump the symbols in a .a file
- Printing/Debugging libc++ STL with Xcode/LLDB
- How to use the gcc installed in macports?
- Undefined symbols for architecture x86_64: Which architecture should I use?
- How to link against boost.system with cmake
- Installing C++ Libraries on OS X
- OSX – replace gcc version 4.2.1 with 4.9 installed via Homebrew
- Broken c++ std libraries on macOS High Sierra 10.13
- How do I execute a command and get the output of the command within C++ using POSIX?
- What is uintptr_t data type
- Does C++ have a package manager like npm, pip, gem, etc? [closed]
- Abstract Class vs Interface in C++ [duplicate]
- Define constant variables in C++ header
- Will using goto leak variables?
- Required and Optional Arguments Using Boost Library Program Options
- Incrementing ‘masked’ bitsets
- Where is the lock for a std::atomic?
- error C2065: ‘cout’ : undeclared identifier
- Get DLL path at runtime
- Dead code detection in legacy C/C++ project [closed]
- C++ Array of pointers: delete or delete []?
- C++11 is_same type trait for templates
- How to make a multiple-read/single-write lock from more basic synchronization primitives?
- Is std::cout guaranteed to be initialized?