Here is the code for the heapArray program that I described on the main html page...
#include "stdafx.h" #includeSee the Section_2 HTML pageusing namespace std; int _tmain(int argc, _TCHAR* argv[]) { int x; cout << "\n type in the xize of the array you want " << endl; cin >> x; int * p_array = new int[x]; system("CLS"); for (int i = 0; i < x; i++) { cout << "\n type in a number " << endl; cin >> p_array[i]; } system("CLS"); cout << "\n here are the numbers that you typed in " << endl; int counter = 0; for (int i8 = 0; i8 < x; i8++) { cout << endl << "\n spot number " << counter << " : " << p_array[i8] << endl; counter++; } system("PAUSE"); return 0;