Deutsch English Français Italiano |
<87y17i3t1u.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.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: Thu, 06 Jun 2024 18:00:29 +0100 Organization: A noiseless patient Spider Lines: 34 Message-ID: <87y17i3t1u.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> <874ja8ltn0.fsf@bsb.me.uk> <v3nn4f$hna4$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Thu, 06 Jun 2024 19:00:29 +0200 (CEST) Injection-Info: dont-email.me; posting-host="44b6ff77d00ee25ed348c35c6fa65b42"; logging-data="1668567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NoVVV2b1R1vFzcNpk+gle+NgKUvZjUbQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:WIvMfVqcofuJBA/Z/Z0XhkBtatk= sha1:BBCxHtG7CcwXq36i20XSPSjMXQk= X-BSB-Auth: 1.cf8738a6dfad8e566690.20240606180029BST.87y17i3t1u.fsf@bsb.me.uk Bytes: 2378 Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes: > On 04/06/2024 14:33, Ben Bacarisse wrote: >> 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? >> > Yes. Tht's the heart of it. > > I'll start a quine project. I am just more confused now. Presumably that does not matter since I don't think you need me to know what's going on. And I am pretty sure that whatever purpose your quine serves, it is intended to benefit users who are not at all like me. -- Ben.