Hello
I have a structure like bellow
x.part1.vector=3;x.part1.cost=4;x.part2.vector=5;x.part2.cost=6;x.part3.vector=7;x.part3.cost=8;
I want to access value of vector on part (for example 3).
How can I access this by index?
thanks for your help
Best Answer