How to set the capacity of Queue according to the length of unknown data?
So I have some data coming from file, for example integers. And assuming that I we don't know the length of data coming from a file or other resource. How do we set the capacity of Queue according to the data like a vector ?
Aucun commentaire:
Enregistrer un commentaire