別の構造から派生した構造で変数を定義する方法を考えています。例えば:
struct Date
{
int month;
int day;
int year;
};
struct Profile
{
START DATE
END DATE
int hours_worked
etc...
};
別の構造から派生した構造で変数を定義する方法を考えています。例えば:
struct Date
{
int month;
int day;
int year;
};
struct Profile
{
START DATE
END DATE
int hours_worked
etc...
};