• nonsense ; in struct definition

    From fir@3:633/10 to All on Saturday, November 21, 2026 19:05:07
    weirdly i talk for years on usenet (wuiith last few years break) and i
    usually remember what was talked on span of years and
    if im not wrong maybe weird but this probably was not stated

    see such things like c

    typedef struct {int x,y ;} int2 ;

    or c++

    struct int2 {int x,y;};

    at least this first ; is rather nonsense

    the second in c version could be maybe understood but the second in c++
    is also rather nonsense

    i personally got a problem of memorizing nosenses so after 25 years of
    using c i still sometimez not quite memorize if i must put that damn
    nonsense or not (well now after stating it clearly i probably wil memorize)



    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)