Something
public cpp v1 · immutable if ((count/2) + 1 > size) { char** temp = new char*[size]; char** temp2 = new char*[size]; for (int x=0; x<(count/2); x++) { cout << *(values + (count/2)) << endl; temp[x] = keys[x]; temp2[x] = values[x]; } size = size + 3; char** keys = new char*[size]; char** values = new char*[size]; for (int x=0; x<(count/2); x++) { keys[x] = temp[x]; values[x] = temp2[x]; } }