This is the most basic example I can think of in this situation, and it has not been tested.
Please keep in mind that this violates some C++ best practises and deviates from the norm (initialize lists, separation of declaration and definition, and so on).
But those aren't topics I can discuss here.
#include <iostream>
using namespace std;
class LinkedList{
...READ MORE
Jun 2, 2022
in C++
by
Damon
• 4,960 points
•
833 views