Timeline for When will Brexit happen?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2017 at 17:40 | comment | added | Dave | Part of the fun of code golf challenges is discovering bizarre language hacks and obsolete features! | |
Apr 4, 2017 at 17:38 | comment | added | Dave | @Lundin in code golf, languages are defined by their implementation (i.e. if you can find a publicly available compiler which compiles the code how you want, you can do it, but if it needs non-standard flags setting, those flags count towards your bytecount). You're correct that this is nowhere near standards compliant (as well as the things you've noticed, there's implicitly defined functions due to no imports and the reliance on time returning a number of seconds since 01/01/1970). Take a look at meta for the (rather disperse) rules people follow around here. | |
Apr 4, 2017 at 12:45 | comment | added | Lundin |
Are there any rules for the form of main in C? In C90: omitting return from main causes UB in case the caller (OS) will use the return value. In standard C: main(x) is not a valid form of main, implicit int has been removed from the language. I believe the minimal, safe version is int main(){} .
|
|
Apr 3, 2017 at 15:33 | comment | added | Dave | @TobySpeight sure, corrected. I think of them as bash because I always use this reference page: tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html | |
Apr 3, 2017 at 15:33 | history | edited | Dave | CC BY-SA 3.0 |
added 16 characters in body
|
Apr 3, 2017 at 13:44 | history | edited | Dave | CC BY-SA 3.0 |
Fix formatting of output when less than 100 days remaining
|
Apr 3, 2017 at 13:16 | history | answered | Dave | CC BY-SA 3.0 |