To start learning C++ programming, you only need to install C++ compiler in your System, or you can also try our Online C/C++ Compiler to write and compile your C++ code online.
What is Compiler?
A compiler is a computer program that transforms human readable (programming language) source code into another computer language (binary) code.
This tutorial is written for Windows, Unix/Linux and MAC users. All code has been tested and it works correctly on all three operating systems.
C++ Compiler Installation on Windows
To use C++ compiler in Windows, you can install any one software mentioned below.
- You can download a 90-day trial version of Visual Studio
- You can download Dev-C++ IDE to develop C and C++ application.
- You can install MinGW
C++ Compiler Installation on UNIX/Linux
If you are using UNIX / Linux, then most probably C++ compiler called GCC will already in your system. To check if you have it installed, you can type cc or gcc at command prompt.
$ gcc -v
If for some reason it is not Installed on your system, you can download it from gcc.gnu.org/install.
C++ Compiler Installation on MAC
You can install Xcode development environment from Apple’s website, to use GNU C/C++ compiler.
You can download Xcode from developer.apple.com/technologies/tools.