, when the time comes when I joined the data replace {int a=1, int b=2, int c=3}, {int a=0, int b=0, int c=0}, and {int a=0, int b=0, int c=0}. Let these array according to the size of the int a sort of above operations on the MFC refer the great god ah
CodePudding user response:
Online and in a hurryCodePudding user response:
The class CompLess{
Public:
Boolean operator () (const propertys * pstItem1, const propertys * pstItem2)
{
Return pstItem1 - & gt; Property & lt; PstItem2 - & gt; The property;//ascending
}
};
Sort (m_HeroIfnoManage. M_vecPropertys. The begin (), m_HeroIfnoManage. M_vecPropertys. The end (), CompLess ());
Scheduling problem is solved now, was how to insert the data into the memory
CodePudding user response:
Online and solve problems