Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield Newsgroups: comp.lang.c Subject: Re: How to compile several C files Date: Wed, 8 Feb 2017 16:09:26 +0000 Organization: Fix this later Lines: 18 Message-ID: References: <137458b9-1471-27ef-8c1e-8d9e781f315f@verizon.net> <5b6f9245-8bdf-4365-8a73-201c192f6980@googlegroups.com> <8760klby18.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 8 Feb 2017 16:07:40 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="3573d5e2517cd03a991178df891d9792"; logging-data="11041"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/RC1oByV+4WH78Lrjnh6xl6hgeh+hnN4fBgF3smOTjQ==" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:r+bYL+dIJ4EN+XLtBGQ7BHF1jqM= Xref: csiph.com comp.lang.c:103473 On 08/02/17 15:48, supercat@casperkitty.com wrote: > On Wednesday, February 8, 2017 at 8:24:09 AM UTC-6, Richard Heathfield wrote: >> Yes, which means the *university* needs to keep track of how many >> students there are - and not just for sending out party invitations >> either. So the object that records the number of students belongs in the >> University class, not the Student class. And, that way, you can have >> more than one university, each with a different number of students >> (which, I am given to understand, is a closer model of the real world). > > Who creates Student objects? Parents. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within