c 2b 2b vector structure

Solutions on MaxInterview for c 2b 2b vector structure by the best coders in the world

showing results for - "c 2b 2b vector structure"
Silvana
08 Nov 2018
1#include <vector>
2
3typedef struct test1 {
4  int a;
5  char b;
6} TOTO;
7
8std::vector<TOTO> _v;
9
10_v.push_back((TOTO){10, 'a'});
11_v[0].a = 101;