Hi,
Is it possible at all to include a #define statement inside another #define statement?
ie: (I know this doesn't work)
Side note, the program is not mine and I cannot change the order of the arguments.Code:#define PATH_TO_FILE "/here/there" #define FILE_COMMAND "some_program " PATH_TO_FILE "rest_of_the_arguments"
I know I could have two different #define s, but then I would have two entries of the file path to change each time it changes. I'd like to have the file mentioned once and always referenced from that source.
Ty.