I've got a shorter one:
| using GLib; public class Quine { public static void main() { string s = "using GLib; public class Quine {
public static void main() { string s = %c%s%c; stdout.printf(s, 34, s, 34); } }"; stdout.printf(s, 34, s,
34); } }
Based on the old C printf trick. ;-)
--
Ed Schouten <ed 80386 nl>
WWW: http://g-rave.nl/
Attachment:
pgpJhxuYlFPDR.pgp
Description: PGP signature