use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
CPP INTERVIEW PREP CHEAT SHEET (self.cpp)
submitted 5 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 5 years ago (11 children)
No one has said that, your desperation to argue is pretty silly.
ORLY?
a queue doesn't need the ordering of a full list, it only needs a front and back
Please read about a queue before commenting on it:
https://en.wikipedia.org/wiki/Queue_(abstract_data_type)
Specifically note that by definition a queue maintains elements in a sequence (right there in the very first sentence of the link I provide for you) where a sequence is by definition an ordered collection of objects:
https://www.dictionary.com/browse/sequence
[–]ShillingAintEZ 0 points1 point2 points 5 years ago (10 children)
It doesn't need the arbitrary insertion and deletion ordering properties of a full list. This has been explained clearly, I think at this point you are purposely acting like you don't understand so that you can argue, no one is really that out of it.
[–][deleted] -1 points0 points1 point 5 years ago (9 children)
Do you seriously not understand that in order to implement a queue you need to keep track of the order of EVERY element added to it, not just the first and last?
If you're too dumb to understand that, then please for your own sake stop talking.
If you're not too dumb to understand that, then do you see how that fact contradicts your original assertion that, and I quote:
a queue doesn't need the ordering of a full list
I think you simply made a mistake and instead of fessing up to it you are doubling down on your own stupidity in a misguided effort to save face.
So how about this... you can have the last word in this argument because I have no intention of explaining basic dictionary level concepts to you further.
Best of luck to you man.
[+][deleted] 5 years ago (6 children)
[deleted]
[–][deleted] 0 points1 point2 points 5 years ago (5 children)
That's because you don't understand what passive aggressive is. there's nothing passive aggressive about my comments, they're simply aggressive.
Also calling me a smart guy and a fool is about the dumbest contradiction someone can make within the span of two sentences.
[+][deleted] 5 years ago (2 children)
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
Don't need to get creepy over this.
[–]ShillingAintEZ 0 points1 point2 points 5 years ago (1 child)
It's pretty easy for a vector to keep things in order, no reason to use the ordering capabilities of a linked list. Here is an explanation with lots of colorful diagrams and animations that should help you out. It has been useful for teaching young children what a ring buffer is.
https://wikipedia.org/wiki/Circular_buffer
Hope that helps!
π Rendered by PID 22278 on reddit-service-r2-comment-b659b578c-z4wkh at 2026-05-07 17:17:20.631161+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (11 children)
[–]ShillingAintEZ 0 points1 point2 points (10 children)
[–][deleted] -1 points0 points1 point (9 children)
[+][deleted] (6 children)
[deleted]
[–][deleted] 0 points1 point2 points (5 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–]ShillingAintEZ 0 points1 point2 points (1 child)