User profile: afatperson

User info
User name:afatperson
History
Joined:
Number of posts:50
Latest posts:

cout not printing full string?
Why does this code only return ss, as opposed to sss? [code] int main () { string s="ss"; ...

Program Ends Before I get chance to input.
[code] #include <iostream> using namespace std; struct bessie { int speed; int time; }...

error: no matching function for call to 'std::priority_queue<data>::push(int, int, int)'
There are so many ways of writing the comparator though. One with bool operator<, one with bool oper...

error: no matching function for call to 'std::priority_queue<data>::push(int, int, int)'
Doesn't the priority queue automatically sort the elements in descending order?

error: no matching function for call to 'std::priority_queue<data>::push(int, int, int)'
I was still getting a ton of weird errors, so I wrote [code] struct Compare { bool operator()(d...

This user does not accept Private Messages

User: afatperson

  • Public profile