Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Stumped on the role of a particular statement in a program with Arrays & Nested For Loops Date: Wed, 14 Dec 2016 12:14:07 -0800 Organization: None to speak of Lines: 29 Message-ID: References: <920aa5e5-445e-4d98-90a7-cc4c1bc89865@googlegroups.com> <457e17cb-a12e-4b3a-848a-04ec52607717@googlegroups.com> <388c4205-e3f5-45af-961d-ce6bb8147322@googlegroups.com> <4c296023-6677-4382-853d-fcaa5fa61220@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="f4d023dc7368ee832f7340f59496ea26"; logging-data="26492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hav+m778ataES4CVic32A" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:r0Ij4833iPFz4sJrX+0ipQc+2dU= sha1:j8u0u3RhFSk7RLXM6JZC2+pveaY= Xref: csiph.com comp.lang.c:99398 supercat@casperkitty.com writes: > On Tuesday, December 13, 2016 at 3:10:39 PM UTC-6, Tim Rentsch wrote: >> supercat writes: >> > Very few real C implementations are sold, since a C implementation >> > would need to include not only software but also the execution >> > platform necessary to run the program in question. >> >> A common misconception. The C standard explicitly places such >> things as hardware and operating system (aka "data processing >> system") outside the realm of implementation, in section 1 of >> the ISO standard, and has since the initial version in 1990. > > Section 1.2 says that the Standard exercises no authority over the > mechanism by which various things are accomplished; that does not > mean that something can be a conforming C implementation without > being able to actually to run any program that it would be required > to accept. The combination of a compiler that generates some form > of machine-code files and a system that can execute such files could > be a conforming C implementation. The compiler by itself, without a > means of running the generated machine-code files, could not be. Most computers cannot operate without a power supply. A power plant is not part of the C implementation. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"