Notes on virtual methods in C++

Here are my notes on how to override virtual methods in the base class in C++.

Continue reading

Posted in Uncategorized | Leave a comment

Inheriting from template classes in C++

Some notes on inheriting from template classes in C++

Continue reading

Posted in Uncategorized | Leave a comment

Difference between free() / malloc() and delete / new

Here are some notes about the differences between delete and free.

Continue reading

Posted in Uncategorized | Leave a comment

l-values and r-values in C++

Here are some notes on l-values and r-values in C++. These show up a lot in error messages of the compiler.

Continue reading

Posted in Uncategorized | Leave a comment

Pointer Var vs Reference Var

Here are some notes on pointer variables and reference variables in C++.

Continue reading

Posted in Uncategorized | Leave a comment

Mojave upgrade C++ compilation and header files missing issue

Here are my notes after a series of annoying experience when C++ files can’t find “string.h” after Mojave (mac os) upgrade. Here are a few steps that might help with the issue

Continue reading

Posted in Uncategorized | Leave a comment

Software prefetching in C/C++

Some notes on how to use prefetching, and my experience using it.

Continue reading

Posted in Uncategorized | Leave a comment