const char *quer = "insert into comm_records (caller_id,userID,c_area,c_duration,c_date) values ('"+number+"','"+userID+"','"+area+"','"+duration+ "','"+date+"')";
all the identifiers between the + signs are variables, and i am trying to form a string with the valuse of those variables. i keep getting the following error
: error C2110: '+' : cannot add two pointersnon of the variables are pointers, some are integers and some are strings, could someone give me some pointers on how to achieve what i want to do.
Thanks.