Setting up C++ Environment



C++ is a general-purpose programming language created by Bjarne Stroustrup.C++ is an extension of C language. Many people asking why C++ is the most used language until now. I must say C++ has really some great advantage over other

  •    Small
  •   Readable codes
  •  Easy to Maintain
  •  Fast

C++ runs every platform you ever use like Windows, Linux.Mac etc. If you really do not want to use your personal computer you can use Online IDE.

There is some best Online IDE

·         http://cpp.sh/

·         https://www.onlinegdb.com/online_c++_compiler

·         https://www.tutorialspoint.com/compile_cpp_online.php

·         https://repl.it/languages/cpp

·         https://www.jdoodle.com/online-compiler-c++/

·         https://www.programiz.com/cpp-programming/online-compiler/

Setting up the environment in your local Computer

You need to install two prime software. An IDE (Integrated Development Environment) is a computer App that contains Text editor, compiler, link and debugs for your program.

1.    Text Editor

This is a type of software or program used to edit or write programs.If you want you can use your default Text editor like kate,gedit, notepad etc.Just make sure do not save with .txt extension use .cc or .cpp extension.These files are known as source code.

 C++ Compiler

            A compiler is a compute program which converts high-level language into machine predictable code. For compiling different programming code we need a different compiler.

Example

LLVM /clang ++ ( Free)

  • Its show a useful error message
  •  Fast compilation
  •  Own STL

GCC /g++  (Free)

  •   Own STL
  • If you want to use older standard than
  • - - std=c++98 or - - std=c++11

INTEL COMPILER (Paid)

·         Great optimizer

·         User system STL

IBM XLC COMPILER (Paid)

Linux Installation

To See steps Click Here

Window Installation (Most used IDE in windows)

There is a bunch of IDE obtainable On the internet for window operating system. Some most used IDE is Code:: Blocks, Visual Studio Code, Visual Studio IDE, etc.

Note- In these series, I am using Visual Studio Code.

 

 

 

 

           

 

 

Please comment if you have any suggestion and share to support us

😀 😄 😍 💗

0 Comments