#include <cstdio> using namespace std; #define DEVICE_LABEL "foo" int main() { char topic[0x100]; sprintf(topic, "%s%s", "/v1.6/devices/", DEVICE_LABEL); }
DEVICE_LABEL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)