I am trying to make a chess simulation in C++. I have created a class Pieces and I want to create a 2 dimensional array on heap consisting of all Pieces. This is my code : king, queen and others derive from Pieces.I am trying to make a chess simulation in C++.