I present: substrings
char str_pid[strlen(msg_in.buf)-2];
sprintf(str_pid, “%.*s\n”, strlen(msg_in.buf)-3, &msg_in.buf[3]);
It’s just so ugly, why can’t they at least provide a sane substring class
God bless C++.
I present: substrings
char str_pid[strlen(msg_in.buf)-2];
sprintf(str_pid, “%.*s\n”, strlen(msg_in.buf)-3, &msg_in.buf[3]);
It’s just so ugly, why can’t they at least provide a sane substring class
God bless C++.