So I first learned Java and now I\'m trying to switch over to C++. I\'m having a little difficulty getting arrays to work correctly.
Right now I am simply trying to crea
I would like to propose this as a resolution to the problem of setting value of index 0:
Player* players = new Player[1]; players[0] = *(new Player(playerWidth, playerHeight, 20, 1));