fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #define bool int
  5. #define false 0
  6. #define true 1
  7. #define supercool void
  8. #define BEGIN {
  9. #define END }
  10. #define OPENBRACE (
  11. #define CLOSEBRACE )
  12. // i am trying to make this not work
  13. supercool supermegaawesomeprint OPENBRACE char txt[9999] CLOSEBRACE BEGIN
  14. strcat OPENBRACE txt,"!" CLOSEBRACE;
  15. printf OPENBRACE "%s",txt CLOSEBRACE;
  16. END
  17. bool main OPENBRACE CLOSEBRACE BEGIN
  18. char x[]="hello";
  19. char y[]="world";
  20. strcat OPENBRACE x," " CLOSEBRACE;
  21. strcat OPENBRACE x,y CLOSEBRACE;
  22. supermegaawesomeprint OPENBRACE x CLOSEBRACE;
  23. return false;
  24. END
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
hello world!