C++ programming without using visual studio 2: EditPlus IDE

Musaddiq Al Ali (Ph.D.)
3 min readNov 15, 2020

C++ programming is needed for developer and engineering students due to C++ fast compilation and compatibility with many IoT platforms. Even though, computer’s hardware and storage are getting larger day by day; many notebook makers nowadays solder the fast storage module “SSD” on board. This makes upgrading storage almost impossible and triple the price of SSD upgrading choice when buying. Many programmers I know chose instead of large storage, a bigger on “board soldered” RAM. Installing visual studio will take from roughly from 2 to 30 GB of the SSD area, which is inconvenient for the previously mentioned notebooks. Therefore, I am sharing ways of build C++ programming environment with less installing storage as possible.

Continuing our the series of programming without visual studio. Here we will introduce EditPlus editor.

Install C++ compiler and Set the environment

Here we will introduce MinGW-w64 as C++. Installing the compiler was introduced in a previous article

Install EditPlus

EditPlus can be installed as a trail version for 30 days from here.

After installing EditPlus, it can be configure to run C++ as follows:

Add alt text

Add alt text

Add alt text

Add alt text

Add alt text

Now:

1- from Add tool make “Menu text “ with any name you want. Here we chosen Compile C++.

2-In” Command “ section, browse to MinGW-w64 install directory and chose “g++.exe”.

3-In” Argument” section put the following text

$(FileName) -g -o $(FileNameNoExt).exe

4-In “Initial directory” section put the following text

$(FileDir)

5- Check “ Capture Output” and click “OK”

Add alt text

6- Add a new tool for running. Here we will use the name Run++ in “Menu Text:”. You can chose any preferable name you want.

7- In “ Command” put the following text

$(FileNameNoExt)

8- In “Initial directory” put the following text

$(FileDir)

In tool you should have the newly made Compile and run commands

Add alt text

Write the following hello world program and compile it the run it using the newly made (Compile C++) and (Run C++) commands

#include<iostream>  

using namespace std;

// main function -
// where the execution of program begins
int main()
{
// prints hello world
cout<<"Hello World!";

return 0;
}

you should get

Hello World!

as an output.

We conclude our second choice of small size C++ programming suite.

--

--

Musaddiq Al Ali (Ph.D.)
0 Followers

Specialized in structural optimization and laser physics