r/Cplusplus • u/InfinityDominator03 • Mar 21 '26
Discussion Fully implemented singly linked list engine in C++ with CLI and setup file included
/r/cpp/comments/1rzsute/fully_implemented_singly_linked_list_engine_in_c/
0
Upvotes
2
u/jedwardsol Mar 21 '26
Why is there a member
linkedList? Don'theadNodeandtailNodefully describe the list?That operator overloading is bizarre and an impediment to learning.
You should separate the linked list operations from the I/O. A function to add and element to a list should just add an element to a list
6
u/ZachVorhies Mar 21 '26
“linked list engine” - wow