I assure you that it does apply to your issue. We are done with the variable "Temp" and the while loop. Right now we need a seperate for loop from the one that we already have to iterate through the vector. Honestly, all of this stuff that I'm saying can be written in two lines one line of code, I would use four but that's purely a style preference.
Alright, thats where I was confused was the Temp thing. However when I run it is gives me a blank console. Do you want the file? I understand the last for statement, not sure why I wouldn't run right now though.