C++ Queue and Stacks
-
Hello everyone. I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures. I would love to post my number for a more personal response on whatsapp, thats if it is allowed. 0714815219
-
Hello everyone. I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures. I would love to post my number for a more personal response on whatsapp, thats if it is allowed. 0714815219
Quote:
LinkedList stack or queue using classes not structures.
I suppose you know
class
es andstruct
s inC++
are practically equivalent (see, for instance here: The difference between struct and class in C++ | Just Software Solutions - Custom Software Development[^]). -
Hello everyone. I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures. I would love to post my number for a more personal response on whatsapp, thats if it is allowed. 0714815219
-
Hello everyone. I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures. I would love to post my number for a more personal response on whatsapp, thats if it is allowed. 0714815219
Member 13478479 wrote:
I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures.
I find that really hard to believe, unless you limited your search to less than two sites. Since lists, stacks, and queues are the basis for any data structures class/book, you'd have a hard time finding a site that did NOT talk about them. The main difference between a
struct
and aclass
is the former has public members by default whereas the latter has private members by default."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Hello everyone. I have asked around all forums and cannot seem to get a satisfying answer as to how I can create a LinkedList stack or queue using classes not structures. I would love to post my number for a more personal response on whatsapp, thats if it is allowed. 0714815219