orderItemID;orderDate;deliveryDate;itemID;size;color;manufacturerID;price;customerID;salutation;dateOfBirth;state;creationDate
1;2013-04-01;2013-04-03;2347;43;magenta;1;89.90;12489;Mrs;1963-04-26;Hesse;2012-04-23
2;2013-04-01;2013-04-03;2741;43;grey;1;99.90;12489;Mrs;1963-04-26;Hesse;2012-04-23
.....
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)
{
//...
}