Ok I am new to C++ and I have this problem:
error C2110: cannot add two pointersCode:details = dateStr + "," + staffid + "," + totalitems + "," + totalprice + "," + payment_method + "," + amount_paid + "\n";
Any help on this? The data strucutres are:
string details;
char dateStr[9];
int staffid;
int totalitems = 0;
double totalprice = 0;
int payment_method;
double amount_paid = 0;