I want to read a line from a file and store the values as an object of a class and add the objects to a vector(I did not define the class in this example but assume that class and its constructors function properly).
The line would contain a name and a number. My program reads the name but I do not understand how I can extract the number(s). Each value is separated by a '/' with each line ending in a '//'.
Would creating a temporary vector and iterating through the vector suffice? I'm not quite sure how to proceed.