Jump to content

Recommended Posts

Posted

What is "Node<T> * const NewNode = new Node<T> ( Data );" even supposed to mean? Why do you have a const in there?

Well, that's a good question. Without it, my code doesn't compile. I can do without the const though.

Posted

OK, removed that constant. Fabric of the universe still intact.

Well, this concludes yet another highly productive coding session. If only I could make millions of dollars this productively.

Node.h contains my first successful attempt at operator overloading. That doesn't mean that it does anything useful, yet! I'm so excited!

I bid you peace.

  • 1 month later...
Posted

I had to create a linked list class for integers. ... I converted my two classes. One was a Node class

I bet your mom is so proud of you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...