void LoadArray(string ary[], size_t & size, size_t MAX, string fileName, string destName){ ifstream inFile; size_t i; inFile.open(fileName); if (!inFile) { cout << filename << " does not exist." << endl; } else { i = 0; while(inFile) { inFile >> ary[i]; i++; } } return; }