struct Customer
{
int customerID;
string salutation;
string dateOfBirth;
string state;
};
struct Item
{
int itemID;
int size;
string color;
int manufacturerID;
double price;
};
struct Order
{
int orderItemID;
string orderDate;
string deliveryDate;
string creationDate;
Customer *customer;
Item *item;
};
ifstream& operator>>(ifstream &ifs, Order &ord)
{
//...
}