New answers tagged

4 votes
Accepted

Linked list implementation in cpp

Overview This is a singly linked list. Which is fine. But it is relatively trivial to implement a doubly linked list (next/prev link in each node). Also by using a doubly linked list and a sentinel (...
user avatar
  • 91.5k
1 vote
Accepted

UpdateCustomer - implementation in C++

First thing I'd say is that it will help document your code if you make function arguments const references when you aren't changing them. It might also help performance, but thats normally less ...
user avatar
  • 1,397
1 vote
Accepted

std::list implementation learning exercise

There’s no point in a design review, because this class is simply a remake of std::list, so I’ll just dive right into the code review. You don’t specify which ...
user avatar
  • 8,106

Top 50 recent answers are included