We are about to switch to a new forum software. Until then we have removed the registration on this forum.
int  GRE = new int[GREsize][GREsize]; // GREsize = 5
at a certain moment in the program GREsize becomes 6 so the array shroud expand to accommodate the new values.
GRE = append(GRE,6,6); // does not work.
Will the suggested code also works with expand() and shorten() ?