fork download
  1. #include <stdio.h>
  2.  
  3. #define SEARCH_PATH /home/user/ordner/bla/
  4.  
  5. #define STR(X) #X
  6. #define STR2(X) STR(X)
  7. #define CONCAT(X,Y) X##Y
  8.  
  9. #define MAKRO(x) STR2(SEARCH_PATH) STR(x)
  10.  
  11. int main(void) {
  12. printf("%s", MAKRO(fileA.hpp));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
/home/user/ordner/bla/fileA.hpp