add cpp read example