Yahoo! Logo ASCII Animation in 462 bytes of C
a1k0n.net·757w
Preview
Report Post

Jun 26, 2011

[Update 10/21/2015: Changed the title from "six lines of C" to "462 bytes of C" to avoid endless arguments about what constitutes a line of C code.]

[Update 6/28/2011: added Javascript version; press button below to see the output without compiling the code.]

[Update 7/9/2011: if you’re using a compiler other than gcc, you might need to put a #include <math.h> at the top for it to work correctly – I seem to be depending on the builtin behavior of sin and cos w.r.t. their return types when undeclared.]

Last week I put together another obfuscated C program and have been urged by my coworkers to post it publicly. I’ve made some refinements since posting it to our internal list, so here is the final version (to those who had seen it already: …

Similar Posts

Loading similar posts...