User: MrPigeon

  • Public profile

User profile: MrPigeon

User info
User name:MrPigeon
History
Joined:
Number of posts:26
Latest posts:

Invalid initialization of non-const reference of type
Ah ok, I was able to fix it by making front() return a value instead of a reference.

Invalid initialization of non-const reference of type
Hey guys, so I'm trying to create a queue using a linked list I've written. But when I try to compil...

Deleting the head node in a linked list
It will crash. I have documented in the precondition that the list must have a size of at least one ...

Deleting the head node in a linked list
So it is valid. Here is the code I have at the moment: [code] //Precondition: A list has been insta...

Deleting the head node in a linked list
So are you saying [code]if (current_ptr == temp_ptr)[/code] is already valid? Otherwise how can I ch...

This user does not accept Private Messages