C/C++ coding tips and tricks