fork download
  1. #include <string>
  2. #include <iostream>
  3.  
  4. #define CONCAT3(x, y, z) x ## y ## z
  5. #define CONCAT(x, y, z) CONCAT3(x, y, z)
  6.  
  7. #define HELLO 100L
  8.  
  9. #define QUOTE() "
  10.  
  11. const std::string Goodbye(CONCAT(QUOTE(), HELLO, QUOTE()));
  12.  
  13. int main(int argc, char **argv)
  14. {
  15. std::cout << Goodbye << '\n';
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 3016KB
stdin
Standard input is empty
stdout
100L