Showing posts with label Atom Editor. Show all posts
Showing posts with label Atom Editor. Show all posts

Tuesday, 28 March 2017

Compile and run C & C++ programs in Atom Editor



Here's a simple way to compile and run C and C++ programs in Atom Editor
1. To do that you first need to install Atom Editor, download link https://atom.io/
2. Go to Files -> Settings -> Install
search for gpp-compiler and install
(gpp compiler package link: https://atom.io/packages/gpp-compiler)
3. Now go to the editor and write your program and save.
4. To compile the program press F5 or right click the file in tree view and click Compile and Run

5. The terminal/command prompt will invoke and start to show you output if your code is compiled successfully.


Note: To use the compiler from the Atom Editor you also need to install MinGW
Watch this video for install MinGW on Windows: https://www.youtube.com/watch?v=DHekr3EtDOA


Tuesday, 7 February 2017

Having issue in installing Git Atom Editor

If you have McAfee Antivirus installed, probably that causes the issue while the installation.

Try disabling the McAfee Antivirus and installing.
It solved the issue for me.