cpp basic codes