## What are bitfields and how to use them in C++

Find out what bit fields are in C++, and see how to use them in your classes to save up on memory, or speed up your networking by only using the bits that you actually need. Continue Reading

## Why when you pass a multidimensional array, you leave out the left most index

Why don’t you ever pass any info about the first dimension of an array or multidimensional matrix? Because you don’t actually need that info! See why the information about the size of the first dimension is not needed. Continue Reading

## Difference between arrays and pointers in C++

A look at a topic that usually confuses a lot of C++ programmers: is an array a pointer or not? The answer is no, an array is not a pointer, but it gives you that illusion because the effect of “decay” appears, read to find out more. Continue Reading

## What does it mean to linearize a matrix?

A quick look at what the process of linearization is, and how you can implement such an algorithm in C++. Continue Reading

## Problem: insert/erase a row into a matrix in C++

Taking a look at how to solve a problem which asks you to insert or erase a row that is inside a matrix, and also display that matrix. The method used here is shifting, no reallocation of the memory is done. Continue Reading

## Creating the transpose of a 2D matrix in C++

Finding out what the transpose of a matrix is, and how you can implement a basic function in C++ that does just that, transposes a matrix. Continue Reading

## Multiplying matrices in C++

A look at the rules of matrix multiplication, and an example of how one might attempt to implement such an algorithm in C++. Continue Reading

## Check if a number has distinct digits in C++

A look at how to implement an algorithm that checks whether the digits in a number are all unique, or some of appear multiple times. Together with the explanation, there is the C++ code. Continue Reading

## Checking if a number is a palindrome in C++

A look at an algorithm that checks if a number is a palindrome or not, using the C++ language. Each line is explained, and at the end the entire algorithm is put into a C++ function. Continue Reading

## C++ what do the multiple definition errors mean and ODR

A brief look at C++ rules regarding the definition of types, functions and templates. It’s most likely that you’ve encountered multiple definition errors if you ever wrote C++ code, now it’s time to see why! Continue Reading