I'm not sure how to use vectors in C++.
It has to do with the vector's push back technique.
I used push back to insert entries into the vector in the first programme.
I used at() to insert entries into the vector in the second application.
using namespace std;
int main ...READ MORE