Question about storing array in a std::vector in C++

前端 未结 7 1291
灰色年华
灰色年华 2021-01-12 17:07

I am unclear about the following.

First, this code compiles fine:

#include 

typedef struct{
    int x1,x2,x3,x4;
}  ints;

typedef std         


        
相关标签:
7条回答
  • 2021-01-12 17:41

    Try using a vector of vector instead.

    0 讨论(0)
提交回复
热议问题