
Learn contemporary C++ with code examples, concise explanations, cheat sheets and infographics. #cpp #cplusplus #programming #learning #education
Germany
Joined March 2020
- Tweets785
- Following714
- Followers5.4K
- Likes16.2K
C++ Standard Library Algorithms
Quick Visual Reference
Part 1/32 - Sorted Range Operations
#cpp #cplusplus #algorithms #programming #cheatsheet
If you are using Neovim to write/review C or C++ this plugin could be really handy:
github.com/J-Cowsert/classla…
Just hover over a type or variable, press a key and see exactly how Clang lays it out in memory: offsets, padding, alignment etc. in a floating window.
hacking C++ retweeted
The Pimpl pattern: heap allocate your implementation, write a copy constructor, write a move constructor, write a destructor, write copy assignment, write move assignment
C++26: std::indirect<Impl> impl_;
Done. The compiler generates everything 🧵👇
hacking C++ retweeted
This is Algebrica. A mathematical knowledge base I’ve been building for 2.5 years.
215+ entries, carefully written and structured.
400k+ views over this time. Not much in absolute terms, but meaningful to me.
No ads.
No courses to sell.
No gamification.
No distractions.
Just essential pages, aiming to explain mathematics as clearly as possible, for a university-level audience.
Built simply for the pleasure of sharing knowledge.
Content licensed under Creative Commons (BY-NC).
Best experienced on desktop.
If it helps even a few people understand something better, it’s worth it.
I've begun to work on the site again.
- the default compiler for all runnable examples is now set to g++ 15.2
- the VIM Plugins page has been updated
- added some sprinkles of std::print to the Beginner's Guide
hackingcpp.com/news/2026-02-…
hacking C++ retweeted
Jjust did a round of updates to my starter project. Including automatic build and deployment of your project to github pages with a CI emscripten build!
* emscripten
* CI OS / Compiler updates
* Fine tuning of static analysis
github.com/cpp-best-practice…
cpp-best-practices.github.io…
hacking C++ retweeted
I'm getting very close to publication of my latest book: The Programming Puzzles Big Book (Fun for ages 7-99)!
leanpub.com/programming_puzz…
This is your last chance to get it for the pre-release price of only $4.99 and help me find any remaining bugs.
This is 400 pages of puzzles!
hacking C++ retweeted
🎉 Big news! CLion is now free for non-commercial use! Whether you're a student, hobbyist, open-source hero, or just in love with C or C++, you can now code your heart out – for free! jb.gg/cl_free_x
#cpp #cplusplus
hacking C++ retweeted
Posted a new video about std::chrono which provides an overview of what functionality was added in C++11, C++17, and C++20. Watch to find out how much of chrono your compiler supports. We were pretty surprised at what we discovered. #cplusplus
youtube.com/watch?v=63GKRVb8…
What main learning curve do you remember in your journey to programming?
For me it was "functions" when moving from C64 BASIC to QBasic.
Next was "how to correctly iterate over a std::list" in C++98
Understanding Ranges Views and View Adaptors Objects in C++20/C++23
cppstories.com/2023/cpp20-un…
#cpp
#cplusplus
For those interested, I made a graphical overview sheet of the range views a while back:
New cheat sheet and overview article of the “range views” in the C++20 and C++23 standard library.
Article: hackingcpp.com/cpp/std/range…
More cheat sheets: hackingcpp.com/cpp/cheat_she…
#cpp #cplusplus #cpp20 #cpp23 #programming #coding #CheatSheet
hacking C++ retweeted
Alright team, we can do this!
Retweet if you know anyone who is not currently a subscriber of C++ Weekly!
youtube.com/@cppweekly
VIM users might find this CMake integration plugin useful: github.com/cdelledonne/vim-c…
- build window
- populates quickfix list with build errors
- easy cmake config switching
- autocompletion for targets, configurations, tests
- events for build success/failure etc.
hacking C++ retweeted
I'm toying with making a list of C++ Tricks, Tips and Tidbits. They are intended for like one of those pop up "did you know?" dialog boxes.
github.com/lefticus/lefticus…
Add some via comment or PR if you are interested!
hacking C++ retweeted
New blog post featuring:
- Terrible jokes
- Floating point
- StackOverflow bashing
- Shameless self-promotion
#programming #cplusplus #stackoverflow
zverovich.net/2023/06/04/pri…
when men say they go to therapy this is what they mean: github.com/Beep6581/RawThera…























