C++ “Learning” Environment

Deepak Aggarwal
1 min readDec 4, 2017

To run a program in any programming language, we require :

a) A text editor, for writing the source code

b) A compiler, for translating the source code into a machine understandable format.

After trying a lot of IDEs (don’t want to name any), I found the paticular approach most efficient for the first time programmers. It has a minimal interface and focus only what is required.

We are going to use :

a) Sublime Text as our text editor

b) g++ as our compiler.

Installation process is different for different operating system.

Windows

Watch this video tutorial to install the setup in windows.

Ubuntu/Linux

Open Terminal and paste the following commands.

  1. To install g++

sudo apt-get install g++

2. To install sublime text

sudo add-apt-repository ppa:webupd8team/sublime-text-3sudo apt-get updatesudo apt-get — purge remove sublime-text*sudo apt-get install sublime-text`

3. To install plugins, visit

4. To run program, open terminal by Ctrl+Shift+T and type ./<programName>

I have created a list of shortcuts that will take your programming experience to the next level.

--

--