About Store Forum Documentation Contact



Search Results
Post Author Forum Replies Views Posted [asc]
  Thread: May I use shared_ptr?
Post: May I use shared_ptr?

May I use shared_ptr? I tested some code, seems it is ok except default parameter in a function, for example Code: class AClass { public: void TestSharedPtr(const std::shared_ptr<TestClass>&...
wakin001@gmail.com Support 0 1,802 07-14-2016, 10:53 AM
  Thread: Struggling with sorting
Post: RE: Struggling with sorting

(06-30-2016 10:17 PM)aceio76 Wrote:  Reference to a const pointer. Thank you. But for the definition of Code: Int compare(C TYPE& a, C TYPE &b); Why should I define it as Code: Int ...
wakin001@gmail.com Beginner Questions 7 5,708 07-01-2016, 08:30 AM
  Thread: Struggling with sorting
Post: RE: Struggling with sorting

(11-21-2012 05:21 PM)Esenthel Wrote:  to sort the Memc use Code: Int CompareProxyPriority(NetProxy*C &a, NetProxy*C &b) {      if (a.Priority < b.Priority) retur...
wakin001@gmail.com Beginner Questions 7 5,708 06-30-2016, 07:12 AM