add cpp snippits