User profile: jlb

User info
User name:jlb
History
Joined:
Number of posts:3022
Latest posts:

EOF rearranges my priority queue?
[quote]. But now my priority queue for some reason is all jumbled,[/quote] Well there is little diff...

Priority Queue's always make const?
Did you try to const qualify display()? [code] void display() const { cout << cat <...

Sorting of arrays
It may be easier to transpose the matrix from row major to column major order before your sort, then...

Sorting of arrays
[quote]It needs to be sorted in a way that if the 1. and 2. column of the vector-array switch place,...

No output when reading from txt file
IMO, it's not any easier either way, however using a std::string will be safer. The only real differ...