[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: C struct-like template

From: Chet Ramey
Subject: Re: Feature Request: C struct-like template
Date: Thu, 14 Jan 2021 11:17:20 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

On 1/14/21 4:44 AM, William Park wrote:
Here is another feature request.

In C struct, eg.
     struct {
        char date[7], dev[16], ver[32], rev[10], ...
you just access variables, and compiler will do the offsetting.  I would
like something like that, where I don't have to do the bookkeeping.

Thanks for the suggestion.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]