When you output to cout, just add it to the array/vector however you want to? Also, don't use \n with cout, use endl.
Last edited on
Thanks L B, I don't actually know how to add it to an array :)
I am a few days into learning c++
Could someone explain?
You can be assured I will appreciate your time.