Initializing struct - C++ Forum - cplusplus.com - The C++ Resources Network
I have a struct struct Date {int day; int month; int year;} ; I instantiate an array of Date Date* dates = new Date[length]; How do I initialize all members of the Date array ... Do you care to expand on why you've shied away from that lately? I see why t
www.cplusplus.com |