12345678910111213141516
header: class ImageData { static ImageData TotalImageData; // or static ImageData *TotalImageData = new ImageData(); } cpp: ImageData::ImageData() { //set data to defaults } ImageData ImageData::TotalImageData;
static
ImageData ImageData::TotalImageData;