In this tutorial we will see how to how to write, compile and run a C or C++ program in fedora terminal itself i.e writing, compiling and execution of the program will be done within the terminal itself. For writing…
Category: vim
How to Comment and Uncomment Multiple Lines in Vim
There are several ways you can comment and uncomment a range of lines in vim editor. Commenting Method I (easiest) Step 1: Make sure your are in command mode by pressing Esc key Step2: Move your cusor to the start of…
How to Auto Indent a Program: Vim Tips & Tricks
In this tutorial we will see automatic vim editor indentation tips and more. Indentation makes a program readable as well as neat and organised. In python programming language indentation is used instead of curly braces or keywords which make code…
Basic Vim editing for beginners
Vim is a Powerful console-based text editor. It is full of features. But in this tutorial we will only see the basic editing with the vi/vim editor. After going through this you will be able to do most of the…
Vim Commands Cheat Sheet
Vim has been a Unix/Linux programmer’s friend since decades, once you get a strong grip on its commands you can do things much faster in a few keystrokes, for example : you need not even use arrow keys to move…
Writing a C/C++ program on ubuntu terminal
Here is a simple 5 step instruction to compile and execute C/C++ program on the linux terminal. I have also included a sample C/C++ example to demonstrate.In order to write the program in the terminal itself, we need a console (terminal) based…