Is it possible to concatenate string from another macro when #including a file name (in C). For example,
I have,
#define AA 10
#define BB 20
these are parameters that change with program runs
And the file include:
#include "file_10_20" // this changes correspondingly i.e. file_AA_BB
Is it possible to have something like #include "file_AA_BB"
somehow? I googled to find that double pound operator can concat strings but couldn't find a way of doing it.
Any help would be appreciated.