> is this possible in C.
No.
I'm not sure if you can in C++, even if you could it would just be the dot operator overloaded.
Perhaps you want sprintf() ?
Code:
sprintf(output, "%s%s%s", output, temp, "blah blah");
Or your own strcat_lots(), for EXAMPLE:
Code:
void strcat_lots(char * destination, ...)
{
char * value = NULL;
va_list vl;
va_start(vl, destination);
while((value = va_arg(vl, char *)) != NULL)
{
strcat(destination, value);
}
va_end(vl);
}
Code:
strcat_lots(output, temp, "blah blah", NULL);