i have this hw problem for class thats supposed to read a comma separated list of my cd collection
ex.: artist,album
artist,album
artist,album
it reads that into a string and then has to separate the artists into one vector and the album into another and then place the artist vector in one column and the album vector into another column
i think i can do the column part but i have no clue how to separate the whole thing into two vectors. could you please give me some suggestions on how to do this.
thanks