I'm reading in a line of input from a file such as "5 8 12 45 8 13 7".
Could I put these integers directly into an array, or must I put them into a string first?
If it's mandatory to initially use a string, how would I convert this string of integers into an array?
input: "5 8 12 45 8 13 7" => into an array as such: {5,8,12,45,8,13,7}