Deutsch English Français Italiano |
<874ja8ltn0.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!npeer.as286.net!npeer-ng0.as286.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse <ben@bsb.me.uk> Newsgroups: comp.lang.c Subject: Re: Writing own source disk Date: Tue, 04 Jun 2024 14:33:39 +0100 Organization: A noiseless patient Spider Lines: 23 Message-ID: <874ja8ltn0.fsf@bsb.me.uk> References: <v3hmha$3banl$1@dont-email.me> <20240603160457.0000010a@yahoo.com> <87zfs2kujn.fsf@bsb.me.uk> <v3lmgq$3psv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 04 Jun 2024 15:33:39 +0200 (CEST) Injection-Info: dont-email.me; posting-host="bf84ed9bf9ed45455062bbcec12be4b2"; logging-data="478630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YRVAnKITGGm3hNhq4O2Hb01qECj3Von0=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:tHN0Ke+pyW60PlZqd9e3ovEK2qY= sha1:FAibcsoG5XIGKYTJi4PQm5DkBIs= X-BSB-Auth: 1.7033786b3a7f81e3194a.20240604143339BST.874ja8ltn0.fsf@bsb.me.uk Bytes: 1892 Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes: > On 03/06/2024 14:47, Ben Bacarisse wrote: >> Michael S <already5chosen@yahoo.com> writes: >> >>> On Sun, 2 Jun 2024 12:54:17 +0100 >>> Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote: >>> >>>> Writing a prgram which writes its own source to standard output is a >>>> standard programming problem. It's called a quine. >>> >>> Is it named after Willard Van Orman Quine? >> In honour of rather than after since "after" is usually used for >> discoverers. It was Douglas Hofstadter who coined the term. >> > > /* source for a quine */ There seems to be loads missing. How big it the program when it's all there or, since it's a quine, what is the size of text it outputs? -- Ben.