C++ classes & linked list: adding & counting items
- by user342289
I need to make a linked list with classes. Each list will store two values: a URI and IP. After doing all the adding, I need to be able count the total number of items in the linked list. I have tried the following code but it doesn't compile. Any suggestions please?
#include <iostream>
#include <cstdlib>
#include <string>
using…