struct MyData { int id; string name; int age; }
MyData mydata; Then I am creating array of structures: MyData [] mydatas;And fill data in my code. Then append it to `mydatas` to get it iterable.
But is it's good? Maybe there there is better way? I need main -- be able iterate thru the data. Any other variants?