I have a struct.
Is there a way i can make default values for the struct. So when I make one of the structures they initialize to the default values.Code:struct Thing{ int value; char title; }
So when i cout the value member it would print a default value.Code:Thing myThing; cout<< myThing.value<<endl;




Reply With Quote
