Category Archives: Uncategorized

Inheriting from template classes in C++

Some notes on inheriting from template classes in C++ Advertisements

Posted in Uncategorized | Leave a comment

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

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

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.

Posted in Uncategorized | Leave a comment

Pointer Var vs Reference Var

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

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

Posted in Uncategorized | Leave a comment

Software prefetching in C/C++

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

Posted in Uncategorized | Leave a comment

Accessing template base class members in C++

Here is one tricky thing I learned about calling members from a template base class.

Posted in Uncategorized | Leave a comment