Deutsch   English   Français   Italiano  
<vu8g1f$t57f$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Loops (was Re: do { quit; } else { })
Date: Tue, 22 Apr 2025 17:27:28 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vu8g1f$t57f$1@dont-email.me>
References: <vspbjh$8dvd$1@dont-email.me> <vto2mb$20c4n$1@dont-email.me>
 <vtu4i5$3hteg$1@dont-email.me> <vtujko$3uida$1@dont-email.me>
 <hxOMP.335104$j2D.272394@fx09.iad> <20250419092849.652@kylheku.com>
 <vu0t5m$22rjp$1@dont-email.me> <vu0v2n$22n7b$4@dont-email.me>
 <vu4cp5$3aou8$1@paganini.bofh.team> <vu5ems$230jl$4@dont-email.me>
 <20250421145818.767@kylheku.com> <vu6mtu$3apt8$1@dont-email.me>
 <20250421201600.242@kylheku.com> <vu7upq$g2ad$1@dont-email.me>
 <20250422071411.99@kylheku.com> <XbPNP.526311$541.90889@fx47.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Apr 2025 18:27:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d044c27b80dbbae3d03ebae8688adc0f";
	logging-data="955631"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX190oN6g5xJ3c7azWrkrPAdh"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qQvyhyynQ3EQ9YgD/3tlUpDo1ZI=
Content-Language: en-GB
In-Reply-To: <XbPNP.526311$541.90889@fx47.iad>

On 22/04/2025 17:10, Scott Lurndal wrote:

>>>     proc main =
>>>          puts("hello"
>>>     end
>>>
>>> In C that would need '#include <stdio>'. Here, 'puts' is defined in a
>>> file which is part of my standard library which is automatically
>>> included by default.
> 
> Which precludes user overrides of the standard library at compile
> time or run-time.

I said 'by default'. Obviously there are ways of replacing the library 
or leaving it out completely.

Or it can be left out and the library imported explicitly like this:

    import msyswin

Only one such line is needed for everything, and it is only needed in 
the lead module of any project. But normally not that even that is required.