Variables

Requirements:Linux DistributionJava Development Kit (JDK)Java Runtime Environment (JRE)A Shell Interface My Setup:Debian GNU/LinuxjavacBASH Variables are pieces of memory which can hold a value. They are used todescribe changing values of a program. Primitive Types In Java: boolean – a variable which represents either the value trueor false. One bit. char – a variable which represents […]

Introduction To Java

Requirements:Linux DistributionJava Development Kit (JDK)Java Runtime Environment (JRE)A Shell Interface My Setup:Debian GNU/LinuxjavacBASH The Java programming language was developed by Sun Microsystems Inc in 1991. It later bought by Oracle Corporation. It was developed by James Gosling and Patrick Naughton. It is a class-based object oriented programming language which runs on top of a virtual […]

Linked Lists in C

Linked lists are a linear collection of elements whose order order is not given by their physical placement in memory. Instead, each element contains a member variable which is a pointer to the next element. For example: In this section, i will be going over algorithms to help manipulate these data structures, as well as […]

File Handling

File Handling In C Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH Today we will go over the concept of file handling. Files are essential for persistent storage. So inside of the standard input / output header file (stdio.h), we have multiple functions for handling files. The FILE data […]

assert.h

Using assert.h Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH Today, i will be going over an extremely useful standard library header called assert.h . Assert.h is a header file which defines one specific function: The assert macro puts diagnostic tests into programs. It expands to a void expression […]

Programming Idioms Part 1.

C++ Programming Idioms Part 1. Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Today i will be going over some basic programming idioms that are generally used by C++ developers. These are acronyms to phrases that describe concepts the C++ language feature. 1. Resource Aquisition Is Initialization (RAII) […]

The String Header File

The string.h header Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH We havent really touched much on the standard header files, so I will go through some of them one by one. Today we will start off with the string.h header file. The header file declares one type, which […]

Putting things together

Putting things together Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma I wasnt sure of what exactly to go over next, so this tutorial will be a brief tutorial of my thought process to create something. In my C tutorials, we created a temperature converter between Fahrenheit and […]

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