Installation

 

Installation

1. on MacOS

  • Install Xcode from Appstore.
  • Once installed, accept the terms and conditions and provide your MAC password.
  • Now, components will get installed.

2. on Windows

  • There are many C++ compilers available in the market which are free to use.
  • Download C++ compiler from VS-C-andC++
  • Run the executable file.

3. on Linux

  • Most Linux operating systems are pre-installed with GCC.
gcc -version
  • For Ubuntu and Debian, use the below command
sudo apt-get update
sudo apt-get install GCC
sudo apt-get install build-essential
  • For redhat, use the below command
yum groupinstall 'Development Tools'

4. Using Onecompiler

  • You don't need to install any software or compiler.
  • Just goto OneCompiler and choose the programming language as C++ and enjoy programming without any installation.

No comments:

Post a Comment

Introduction

  C++ C++ is a general purpose programming language that was develop as an enhancement of the C language to include object-oriented concept....