Hi everybody! I need an advise. I have to make a program which will be manipulating with arrays of structures. What is better to use stl vector or stl list?
The real answer depends on exactly what it is you are doing, but generally speaking the vector is the more common option. I always go with vectors by default until I find some compelling reason not to.