Im creating a program to solve a number pyramid, it reads in these numbers, it then Stores them in an array then displays the array except the -1's, in the shape of a pyramid. Then it solves as much of the pyramid as it can, then displays the pyramid again. it does this till all the zeros are gone. but whenever it does its first pass it messes the display up and "corupts the stack around np" which is the name of the array. Please help!