I need to do some overloading operators for Node, but i\'m really stuck on how t
ID: 3544759 • Letter: I
Question
I need to do some overloading operators for Node, but i'm really stuck on how to do them. Plus, I don't really know too much about node. I think I'm suppose to do struct? Help please!
()
I need >, <, and =
()
where > and < checks which data in node is bigger, and = makes data in lsh equal to data in rhs
()
main.cpp:
http://pastebin.com/uzB12y4Q
()
node.cpp:
()
node.h:
()
LinkList.h:
()
LinkList.cpp:
Explanation / Answer
use *n1 > *n2
with
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.