The operators < and > of GreedyObject and MNode should be declared const.
Also you have to #include <ctime> and <cstring>
Kurt
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: vector- algorithm const problemThreaded View
|
Click Here to Expand Forum to Full Width |