assign1/sorting.cpp
/*
**	Author: Evan Slominski
**	Function Purpose: Put the data from the file into the p_numArray
**		
**	Function Output: 
**	Side Effects: 
*/
Evan Slominski
Function Purpose: Put the data from the file into the p_numArray

Function Output:
Side Effects.
Evan Slominski Function Purpose : Put the data from the file into the p_numArray Function Output : Side Effects .
void C_Numbers:: p_putDataInArray() {
    int throwAway = 0, index = 0;
    ifstream data;
    data.open("input.dat");
    data >> throwAway;
    for(index=0; index<p_arraySize; index++) {
    data >> p_numArray[index];
    }
    data.close();
}
void C_Numbers :: p_putDataInArray ( ) { int throwAway = 0 , index = 0 ; ifstream data ; data . open ( " " ) ; data >> throwAway ; for ( index = 0 ; index < p_arraySize ; index ++ ) { data >> p_numArray [ index ] ; } data . close ( ) ; }
Author: Evan Slominski
Function Purpose: Put the data from the file into the p_numArray
Author : Evan Slominski Function Purpose : Put the data from the file into the p_numArray