Skip to main content

Timeline for Execute prints backwards

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jun 9, 2014 at 12:06 comment added ugoren @LưuVĩnhPhúc - The space is optional. It replaces as you say.
Jun 9, 2014 at 11:18 comment added phuclv how is the first two defines work without spaces? Would it make print to be replaced by "\n",printf(?
Feb 13, 2014 at 21:47 history edited ugoren CC BY-SA 3.0
deleted 15 characters in body
Feb 13, 2014 at 20:50 comment added ugoren @Quincunx, and now it's really a polyglot.
Feb 13, 2014 at 20:50 history edited ugoren CC BY-SA 3.0
added 123 characters in body
Feb 13, 2014 at 20:44 comment added ugoren @Quincunx, you can't define }, but you can define return, which I now did. It's almost a polyglot now - the print syntax works in several script languages, #define is often a comment, but main(){..} doesn't work in any language I could find.
Feb 13, 2014 at 20:43 history edited ugoren CC BY-SA 3.0
added 154 characters in body
Feb 13, 2014 at 18:55 comment added Justin +1 for the macro. Maybe include another one; something like #define } 0)))); (I don't know exactly how macros work in C). That way you could just have the print statements in the main method, nothing else.
Feb 13, 2014 at 7:15 history edited ugoren CC BY-SA 3.0
added 264 characters in body
Feb 12, 2014 at 16:22 history answered ugoren CC BY-SA 3.0