Visual Studio Code – How to sort a list of instances of a C++ class
I'm writing a C++ program for a 2D RPG game, using the SDL2 libraries. I have a class named Entity that has a property named worldY: class Entity { public: ... // coordinate mondo: la mappa del mondo int worldX…