How to concatenate strings in #include

Viewed 44

I want to connect defined path with a file name and put it together to #include. Unfortunately I am getting an error

#define ROOT "C:/Projekty/Moje/"
#include ROOT "File.h"

Error: Unable to open include file 'C:/Projekty/Moje/" "File.h'

I have tried with macroas STR, CONCAT but without result. How to do it?

0 Answers
Related