How can I use one function to sort by different variables in a struct

前端 未结 0 1189
小鲜肉
小鲜肉 2021-02-06 06:43

In my program, I have this struct:

struct Record {
string ID;
string name;
int quantity;
double price; 
};

I also have a function that is suppose

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