Deutsch   English   Français   Italiano  
<vbsu1d$3p7pp$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Command line globber/tokenizer library for C?
Date: Wed, 11 Sep 2024 21:19:58 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vbsu1d$3p7pp$1@dont-email.me>
References: <lkbjchFebk9U1@mid.individual.net>
 <vbs1om$3jkch$1@raubtier-asyl.eternal-september.org>
 <vbsb94$1rsji$1@news.xmission.com>
 <vbsmlb$3o6n2$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 11 Sep 2024 22:19:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b0e60afe09774e8e7cecec025f09afc9";
	logging-data="3972921"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18W02qSCbEWVP2+01f5hOR8"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:E9bkz+me0ywZGunA7BUo+Q78kgU=
In-Reply-To: <vbsmlb$3o6n2$1@raubtier-asyl.eternal-september.org>
Content-Language: en-GB
Bytes: 2111

On 11/09/2024 19:14, Bonita Montero wrote:
> Am 11.09.2024 um 16:59 schrieb Kenny McCormack:
>> In article <vbs1om$3jkch$1@raubtier-asyl.eternal-september.org>,
>> Bonita Montero  <Bonita.Montero@gmail.com> wrote:
>>> Do you think it would make sense to switch the language ?
> 
>> Do you think it would make sense to pay attention to the "Newsgroups" 
>> line
>> in your header before clicking "Send"?
> 
> I just wanted to suggest a simpler language.
> Compare that with a manual implementation of the same in C.
> 

C++ is a simpler language? You're having a laugh!

I made a version of your code that was about 50 lines, so a higher line 
count, but was some 10% smaller in character count.

It doesn't need 'templates', or 'basic-string-view', or 'Consumer', 
whatever that is, or iterators. This is a trivial exercise as I said.

However, if working on Windows, there may be no need: there is already a 
CommandLineToArgvW function.