Almost always use std::vector
Common wisdom is you should use structures like linked lists instead of vectors when you expect to perform many insertions and deletions. Insertion in a list...
Common wisdom is you should use structures like linked lists instead of vectors when you expect to perform many insertions and deletions. Insertion in a list...
I was once like you. When encountering a type declaration like char const * const *, I’d either curl up in a ball clutching my office mate’s leg and crying, ...
This is the third post in a little series about the sequence
I recently became obsessed with a fairly unique integer sequence that I introduced and explained in an earlier post. The sequence is 2, 3, 4, 82000 and, to m...
I’m currently binge re-re-watching the show Breaking Bad, when I starting thinking about the names used in the credits. All the names have highlighted in gre...
I recently discovered an interesting fact about how operator->() operates differently than other overloads in C++. Consider the following code:
I know what you’re thinking. “I need more arbitrary math in my life for the sake of being a nerd.” Alright, maybe you’ve never thought that, but I recently w...