Liste des Groupes | Revenir à cl c |
On 22.08.2024 14:01, Annada Behera wrote:C++ also made the use of "struct/union/enum" before tags optional.On Thu, 2024-08-22 at 08:18 -0300, Thiago Adams wrote:A convention. (I.e. one convention amongst dozens.)On 22/08/2024 08:01, Bart wrote:On 22/08/2024 09:41, Mark Summerfield wrote:
>This is the type's struct:>
>
typedef struct {
int _size;
int _cap;
char** _values;
} VecStr;
What's with the leading underscores for member names?
I don't think so. I've seen such conventions in many places, also>>
It means ending with ->_ later on, which seems pointless extra
clutter.
>
C++ is responsible for this.
very often in C contexts. Even standards use naming conventions.
(This is no valuation. I don't give a valuation. Not yet.)
Les messages affichés proviennent d'usenet.