Anonymous user
Generator/Exponential: Difference between revisions
m
→Using struct to store state: comment
(→{{header|C}}: more normal mothod) |
m (→Using struct to store state: comment) |
||
Line 422:
#define SEQ_BASE seq_func f; int output
/* sort of polymorphing data structure */
typedef struct { SEQ_BASE; } gen_t;
|