How to concatenate two strings (one of them is stored in a variable) in C using preprocessors?
For example how to do this?
#define CONCAT(x,y) x y
//ecmd->argv[0] is equal to "sometext"
myfunc(CONCAT("/", ecmd->argv[0]), ecmd->argv[0]); //error: expected ')' before 'ecmd'