I've just started to learn C++.
I have this struct:
struct dateTime
{
int sec;
int min;
int hour;
int day;
int mon;
int year;
bool daylightSaving;
char timeZone;
};
And I need to set daylightSaving to false by default.
How can I do it? Maybe I have to use a class instead of a struct.
dateTime() : daylightSaving ( false ) {}