New answers tagged

4 votes

Serialization and deserialization a doubly-linked list with a pointer to a random node in C++

Thomas Weller has already made many good points in his answer. I'll just add this: Keep responsibilities to a minimum You've added a class List that has two ...
  • 42.6k
9 votes
Accepted

Serialization and deserialization a doubly-linked list with a pointer to a random node in C++

Thanks for posting your code and not being afraid of feedback. The indentation of your code is nice and you're already using a lot of stuff present in the C++ standard library. That's great. Unclear ...

Top 50 recent answers are included