I would like to factor a number and store the factors into an array. Obviously, I don't know how many factors ahead of time any given number would have, so I need something that would be able to expand to hold those factors.
I have been doing some reading, and it looks like vectors are what I need. Unforunately, the C++ book I am learning from doesn't cover vectors.
Any idea on where to start working with vectors?