Listing 4

    count = 0;
    while(count < size){
      outFile << values[count] << " ";
      count = count + 1;
    }//end while loop
    outFile << endl;
  
Listing 4