Nội dung mới nhất bởi Dominic

  1. D

    Dealing with tabs with ifstream and reading an arbitrary number of values into a vector

    I'm basically working with fragments of a text file like this: 6 Jane Doe 1942 90089 3 1 5 12 There are tabs on lines 2-5. I'm trying to hold each of the values in an appropriate variable and I would like to have the numbers on the bottom line stored in a vector called friends...