In C++ sessions there was an example in which an array was resized at runtime to hold realtime data of undefined iterations, without creating any new array with bigger size and replacing as done in vectors.
I am stucking here if it was achieved using Virtual functions,operator overloading ,as to create real time containers as an array of objects whose size was getting manipulated at runtime as per the incoming data.
Please share the solutions so that i can go forward.