Hello,
I have entered 6 random names into a text file. From my program, I accessed that file, and stored the 6 names into a vector. Now my question is, how do I delete every n number of names? I am having trouble figuring out how to keep "wrapping around" the vector. For example.
Enter the position to delete: 3
Mike Bill Alex Chris Bob Dan
Mike Bill Chris Bob Dan
Mike Bill Chris Bob
Mike Bill Bob
Mike Bob
Mike
Any help would be greatly appreciated.