How to sort a vector of pointers to different instances of a class with multiple criteria?

后端 未结 0 943
无人共我
无人共我 2021-01-17 21:33

I need to sort a vector of pointers with this test data.

main.cpp

#include "cart.h"

int main()
{
    Cart cart;

    cart.addItem("Desk         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题