[Solved] Read from mixed data file add items to string array and two-dimensional int array C++ [closed]
[ad_1] int size = 0; while(size < MAX_ARRAY_LENGTH && // prevent overflow. // Will stop here if out of space in array // otherwise && (logical AND) will require the following be true file >> months[size] // read in month >> temps[size][0] // read in first temp >> temps[size][1]) // read in second temp { … Read more