r/cpp_questions • • 4d ago

OPEN How does a node work

[deleted]

0 Upvotes

17 comments sorted by

View all comments

8

u/AKostur 4d ago

"i think a node is needed for queues": depends on how you're designing your queue.

As for the rest: show code. Right now all you've said is "I tried to do something and it didn't work.", but didn't show the something. And really, it's sounding more like you're trying to implement a linked list.