Mar 22, 2018 at 6:07pm
You've defined your get_next() function to return a node object. However, you're trying to return next, which is a pointer, not an object.
Mar 22, 2018 at 6:13pm
I didn't notice that all, thank you very much @helios & @MikeyBoy!
Mar 23, 2018 at 10:49am
You're welcome - glad it helped!