using unions inside of structs to enable arrays of multiple types

后端 未结 0 1146
清酒与你
清酒与你 2021-01-05 07:08

I built a dynamically allocated array in C based on the struct

typedef struct Array
{
  int capacity;         
  int original_capacity;
  int count;        
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题