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

Advertisements
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

Accessing template base class members in C++

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

Continue reading

Posted in Uncategorized | Leave a comment

Creating links in Linux

Some notes on links in Linux systems

Continue reading

Posted in Uncategorized | Leave a comment

How to get CPU, Cache Info

This is a note on how to read the Intel CPU frequency, cache size, turboboost and other information in Linux environment.

Continue reading

Posted in Uncategorized | Leave a comment