- #36
Jarvis323
- 1,243
- 986
You have two vectorsClass objects, one in main, and another in the file object. They're different objects and an operation on one of them doesn't affect the other.
So you have to do something like remove the one in the file class, and pass in the one from main as an argument to the print function. Or delete the one in main and just operate on the one in the file object.
So you have to do something like remove the one in the file class, and pass in the one from main as an argument to the print function. Or delete the one in main and just operate on the one in the file object.
Last edited: