assign1/sorting.cpp
/*
**	Author: Evan Slominski
**	Function Purpose: Initialize the p_numArray and set p_arraySize variable
**		
**	Function Output: none
**	Side Effects: none
*/
Evan Slominski
Function Purpose: Initialize the p_numArray and set p_arraySize variable

Function Output: none
Side Effects: none
Evan Slominski Function Purpose : Initialize the p_numArray and set p_arraySize variable Function Output : none Side Effects : none
void C_Numbers::p_initArray() {
    int index = 0;
    ifstream data;
    data.open("input.dat");
    data >> p_arraySize;
    data.close();
    this->p_numArray = new int[this->p_arraySize];
    for(index=0; index < this->p_arraySize; index++) {
        this->p_numArray[index] = index;
    }
}
void C_Numbers :: p_initArray ( ) { int index = 0 ; ifstream data ; data . open ( " " ) ; data >> p_arraySize ; data . close ( ) ; this -> p_numArray = new int [ this -> p_arraySize ] ; for ( index = 0 ; index < this -> p_arraySize ; index ++ ) { this -> p_numArray [ index ] = index ; } }
Author: Evan Slominski
Function Purpose: Initialize the p_numArray and set p_arraySize variable
Author : Evan Slominski Function Purpose : Initialize the p_numArray and set p_arraySize variable