Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: comp.lang.c Subject: Re: How to compile several C files Date: Wed, 08 Feb 2017 17:23:36 +0100 Organization: A noiseless patient Spider 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 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 8 Feb 2017 16:21:49 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="aac8a8afec3dd03b3e63b75c4406aa2d"; logging-data="14358"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pYQI9oeSWbxD95kOe/91wZ5qn1dB35ms=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:FJwbBrSa20jVfk/YaozBPc4W4RE= Xref: csiph.com comp.lang.c:103475 On 08/02/17 17:09, Richard Heathfield wrote: > 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. > I find students are quite good at objecting by themselves :-)