Advertisement

Fifty Seven - loop loading of vectors

Fifty Seven - loop loading of vectors Too many people use vectors as fixed sized objects, treating them as if they were arrays. Vectors power comes from its ability to add more and more objects without worrying about size. This example shows a do while loop loading a two vectors at a time with temporary variables holding the input.

C++,Vectors,Loop loading vectors,

Post a Comment

0 Comments