images and cpp