| Deutsch English Français Italiano |
|
<f334f21f2f8f1afb862532c851cec37524acf026@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: fir <fir@grunge.pl>
Newsgroups: comp.lang.c
Subject: Re: on changing paradigm of assign call
Date: Sun, 01 Sep 2024 16:29:19 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <f334f21f2f8f1afb862532c851cec37524acf026@i2pn2.org>
References: <ec5339abbc9920049b4f4b79a62ca2702df730e6@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 1 Sep 2024 14:29:26 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="485728"; mail-complaints-to="usenet@i2pn2.org";
posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0";
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <ec5339abbc9920049b4f4b79a62ca2702df730e6@i2pn2.org>
Bytes: 1457
Lines: 15
fir wrote:
>
> find_character_position(txt, 'x');
> if(found>=0)....
wel in fact this should set a boolean "found" and unsigned "position"
find_character_position(txt, 'x');
if(found) printf("found at %d", position);
it looks weird as soem must know thet {find_character_position, found,
position} is a set of names provided by thsi function not only the
name but coders are expected to know function name so they could be
expected to know whole set...