how to use c++ on mac without installing Xcode??
I installed turbo c++ on my Mac but isn't working on my Mac. It may be due to its 32 bit version so suggest me any app or something else that could help in using c++ on my Mac...
The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.
You can continue to find trusted guidance and support on the official Apple Support site.
We want to thank the community members who have contributed their time and expertise to help others with their Apple products.
The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.
You can continue to find trusted guidance and support on the official Apple Support site.
We want to thank the community members who have contributed their time and expertise to help others with their Apple products.
I installed turbo c++ on my Mac but isn't working on my Mac. It may be due to its 32 bit version so suggest me any app or something else that could help in using c++ on my Mac...
I don't want to program on python, but on c++!!!
No 32-bit applications work on Catalina, and that includes the ancient turbo C++. Apple has the command line tools for Xcode which is a full C/C++/Objective-C/Objective-C++ compilation environment with support for C++17 — but does not install 8GB+ of Xcode.
In the Terminal application in Catalina, type the following on the command-line, and follow it with a return. It will trigger a prompt asking if you want to install the mentioned compilation suite (which now includes Python3):
python3
Then you can use clang or clang++ to compile your code. Be forewarned that there is much stronger typing now than in the days of Turbo C++, so you may be faced with code changes:
clang++ --help
clang++ -Oz -o foo foo.C [-stdlib=libc++] [-std=c++17]
You should read more carefully.
Typing python3 in the Catalina Terminal is a keyword that triggers the operating system to prompt for the installation of the Command Line Tools for Xcode (of which python3 is now a part). Once installed, you have the relevant C++ compiler, headers, and libraries available. You can ignore python3.
ok thanks
how to use c++ on mac without installing Xcode??