I have
static char sID [10] = "888888";
static char pin[7] = "8888";
static std::string postData = "";
and In a function I want to pass the first string to postData
postData = "ayylmao";
then I want to merge the sID and pin to the string follow up by more strings
like postData = "ayylmao" + sID + "asdsd" + pin + "asdasd";
but I'm not sure how to do it. I was looking at strcpy and strcat, but there was some errors with it