Is there a way to access a the nth element of a struct?

后端 未结 0 2019
小蘑菇
小蘑菇 2020-12-25 11:55

I have struct of pointers where the pointers are of arbitrary type but are known at compile time.

struct ptrs
{
    int* a;
    const char** b;
    int* c;
           


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