.

Environment Setup in C++

To start learning C++, the two things are needed. They are

  • A text editor, like Notepad, to write C++ code
  • A GCC compiler to translate the C++ code into a language that the computer will understand

Text Editor

The editor is used for typing the program; some of the text editors include Brief, Epsilon, EMACS, Windows Notepad, OS Edit command, and vim or vi.

The name and version may vary based on different operating system.

The file created is saved as .cpp or .cp

C++ Compiler

The C++ compiler never cares about the extension of the program, if the extension is not specified, it is considered as .cpp by default.

The C++ is a compiler which compiles the program and find out errors. This compiler compiles the source code into final executable programs.

.