I wonder if someone could help me:
I have priority_queue of pointers to struct:
struct type{
int val;
};
priority_queue<type*>Q;
How can I overload operator?
Search found 3 matches
- Mon Jan 31, 2005 12:54 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10801 - Lift Hopping
- Replies: 56
- Views: 35752
Thank you all. I think strtok() is easier and faster way to read. I've written code which in my opinion is good (I got good answers on my computer) and I submitted it but I got Runtime Error (SIGSEGV). I think the problem is the way I read data because I deleted all additional code and send only par...
- Sun Jan 30, 2005 2:28 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10801 - Lift Hopping
- Replies: 56
- Views: 35752