Programming Paradigms

Programming ParadigmsProgramming paradigms are styles of programming. It is a way to think aboutprogramming , and reflects from the way you write your code. A lot oflanguages support multiple paradigms. This includes Ada, C++, C#, Clojure,Common Lisp, D, E, ECMAScript (which is the standard form of Javascript andActionscript), Go, and Haskell. This list could continue, […]

Classes Part 2

Classes Part 2. Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Welcome back to the tutorials on classes! Today we will go over access specifiers , and basic inheritance. Lets start off with inheritance. Inheritance is a way to abstract out similar classes in a hierarchy. It allows […]

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 : […]