What's the standard way of reading a "line of numbers" and store those numbers inside a vector.
file.in
12
12 9 8 17 101 2
Should I read the file line by line, split the line with multiple numbers, and store the tokens in the array ?
What should I use for that ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…