16 years, 3 months ago
Highlights
Community contributions featured16 years, 3 months ago
I realized that you had your own implementation, but unless you're writing a linked list implementation for academic purposes, you should be leveraging the standard library (and…
16 years, 3 months ago
The best way is to use the standard library. std::list is a doubly linked list in most implementations, as far as I know (its complexity requirement basically mandate it, if I r…
16 years, 3 months ago
16 years, 5 months ago
16 years, 5 months ago
Latest Activity
See all in DiscussionsI realized that you had your own implementation, but unless you're writing a linked list implementation for academic purposes, you …
16 years, 3 months ago
The best way is to use the standard library. std::list is a doubly linked list in most implementations, as far …
16 years, 3 months ago
As Kasya has touched on, dynamic dispatch is accessible through pointers in C++:#include <iostream>struct Entity { void animate() { std::cout …
16 years, 5 months ago