well, on the problem of displaying the contents of a array, you can just run a simple loop add 1 to a count variable, each time showing the contents of the array
Example:
void printarray (int number[], int length) <--calling this from the main program
{
for (int n=0; n<length; n++)
cout << number[n] << " ";
cout << "\n";
}
Sry if the code isn't 100% correct; the fundamentals are right.
__________________ |