Liste des Groupes | Revenir à cl c |
On 12/09/2024 13:20, Janis Papanagnou wrote:BTW here are the sources sizes for the tokeniser function. (For C++ I've included the 'using' statement.)On 12.09.2024 13:29, Bart wrote:I'm saying it's not necessary to use such advanced features to do some trivial parsing.On 12/09/2024 03:22, Bonita Montero wrote:>Am 11.09.2024 um 22:19 schrieb Bart:count was half.
>C++ is a simpler language? You're having a laugh!>
The solutions are simpler because you've a fifth of the code as in C.
>
In this case, it actually needed somewhat more code, even if the line
>
But your solutions are always incomprehensible because they strive for
the most advanced features possible.
I don't know of the other poster's solutions. But a quick browse seems
to show nothing incomprehensible or anything that should be difficult
to understand. (YMMV; especially if you're not familiar with C++ then
I'm sure the code may look like noise to you.)
>
In the given context of C and C++ I've always perceived the features
of C++ to add to comprehensibility of source code where the respective
C code required writing clumsy code and needed (unnecessary) syntactic
ballast to implement similar functions and program constructs.
>
Your undifferentiated complaint sounds more like someone not willing
to understand the other concepts or have a reluctance or laziness to
make yourself familiar with them.
I've given a C solution below.
Les messages affichés proviennent d'usenet.