Sujet : Re: Command line globber/tokenizer library for C?
De : bc (at) *nospam* freeuk.com (Bart)
Groupes : comp.lang.cDate : 11. Sep 2024, 21:19:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbsu1d$3p7pp$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
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.