Vim can work with GDB to debug C++ programs. This feature works in Vim version 8.1+. In this blog post, we’ll go through debugging C++ in Vim.
You need to load the plugin using the command:
You have to do this every time you want to debug. If you want this to happen automatically, add the command to your
The code below is for the sample program that we are going to debug. Open vim and type it. We are going to save it as
We are going to compile the program using
Today I aim to make you know more about how a Django project is structured. We’ll start with how to do the initial setup, move on to describing how Django apps look like, talk about the request/response cycle, and templates
We first have to set up the environment before we can create a Django project. You have to install Python then create a virtual environment. There are several ways of creating a virtual environment. Python 3.x has this functionality inbuilt:
virtualenv Python package can do the same thing. …