I am having a problem reading in data from a dataset and then storing it into an array. This is what I have so far:
int array[MAX_ARRAY_SIZE];
cout << "The original array: " << endl;
while (infile >> next) // Read the array and then output the array to the user
{
cout << next << " ";
count += 1;
}
Is there to store the values I read in with the while loop to array[]?! Thank you in advance for your help!!!