Pseudocode

Pseudocode Pseudocode is a high-level way of putting your program into logical steps. It uses structural conventions of programming languages, but is meant to be human readable. It is used to help describe algorithms instruction by instruction.No standard for pseudocode syntax exists, as a program in pseudocode is not an executable program. Pseudocode resembles, but […]

Basic Templates

Basic Templates Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma In this tutorial, I will be introducing you to the concept of templates. What are templates ? Templates are a form of generic programming which allows you to generate code for multiple types. The one thing to remember, […]

Namespaces

Namespaces in C++ Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Namespaces provide a way to prevent name conflicts in projects. Anything that is placed within a namespace is scoped to that specific namespace. Nested namespaces are also allowed. One reason I can think of a possible naming […]

Type Qualifiers

Type Qualifiers Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma In my classes tutorial , I had talked about const briefly , but in this tutorial, i will be going over all of whats known as “Type Qualifiers”. What is a type qualifier? A type qualifier is a […]

Classes Part 1

Classes Part 1. Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma In this tutorial, we will be discussing the basics of Classes within C++. Classes are the blueprints that are used to describe an object within object oriented programming. Classes define how an object acts as well as […]

Number Systems

Number Systems Today, we will go over the types of number systems used by computer programs. It may not seem too important to you at the moment , but understanding how some of these works become vital when programming . Today we will be going over binary , octal, and hexadecimal. In our normal everyday […]

Functions

Functions in C++ Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Suppose you want to write a program that requires a lot of steps to perform the required action you wish to write. Best practices says to not write everything in your main function. Instead, break up your […]

Loops

Loops Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Sometimes you need to repeat a couple functions or statements multiple times. For this, you would use a looping mechanism. Today i will go over 4 types of loops. Those include : while, do/while, for, for each. While : […]

Vectors

Vectors: Vectors are essentially dynamic arrays. With an array, you have a set amount of variables of a specified type. You can not change the size if you need to add another variable, or decide to take a variable out. In order to do this, you need a vector. Also, you might need this for […]

File System Hierarchy

The Linux File System Hierarchy It is without a doubt, if you come from from windows, you notice the file system is extremely different. There are no capital letters specifying where you are on the system like “C:\” , instead when you open up a shell, you are most likely in what it considers your […]