hacking C++

779 posts

hacking C++ banner
hacking C++

hacking C++

@hackingcpp

Learn contemporary C++ with code examples, concise explanations, cheat sheets and infographics. #cpp #cplusplus #programming #learning #education

Germany Inscrit le Mart 2020
702 Abonnements5.4K Abonnés
hacking C++
hacking C++@hackingcpp·
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-20
English
0
3
27
1.2K
hacking C++ retweeté
Jason Turner
Jason Turner@lefticus·
I'm getting very close to publication of my latest book: The Programming Puzzles Big Book (Fun for ages 7-99)! leanpub.com/programming_pu… 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!
Jason Turner tweet media
English
3
24
114
4.9K
hacking C++ retweeté
CLion, a JetBrains IDE
CLion, a JetBrains IDE@clion_ide·
🎉 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
CLion, a JetBrains IDE tweet media
English
29
225
1.3K
128K
hacking C++ retweeté
CopperSpice (@copperspice_cpp@hachyderm.io)
CopperSpice (@[email protected])@copperspice_cpp·
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=63GKRV…
YouTube video
YouTube
English
0
5
16
3.1K
hacking C++
hacking C++@hackingcpp·
@lefticus functions pointers classes/objects (encapsulation+invariants) inheritance+OO patterns STL design philosophy monads other functional patterns Pretty much in that order. Each of these concepts unlocked a new way of thinking for me.
English
0
0
8
1K
Jason Turner
Jason Turner@lefticus·
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
English
43
1
39
23.4K
hacking C++ retweeté
Jason Turner
Jason Turner@lefticus·
Alright team, we can do this! Retweet if you know anyone who is not currently a subscriber of C++ Weekly! @cppweekly" target="_blank" rel="nofollow noopener">youtube.com/@cppweekly
Jason Turner tweet media
English
3
64
114
40K
hacking C++
hacking C++@hackingcpp·
VIM users might find this CMake integration plugin useful: github.com/cdelledonne/vi… - build window - populates quickfix list with build errors - easy cmake config switching - autocompletion for targets, configurations, tests - events for build success/failure etc.
English
0
1
8
1.9K
hacking C++ retweeté
Jason Turner
Jason Turner@lefticus·
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/lefti… Add some via comment or PR if you are interested!
English
6
10
84
7K
hacking C++
hacking C++@hackingcpp·
@vzverovich Yo mama is so big they call her “local_params”
GIF
English
0
0
6
403
hacking C++
hacking C++@hackingcpp·
@DefenceForceOrg @bowsamic @MittringMartin Precisely - My point was just that the better (safer) equivalent to the “by value“-version would be the “const&” version. No need to take something by non-const ref if it’s not absolutely necessary.
English
0
0
1
19
Dbug
Dbug@DefenceForceOrg·
@bowsamic @hackingcpp @MittringMartin It does not make any difference... other than avoiding the risk of the code changing the content of the container without noticing 😅
English
1
0
0
31
Martin Mittring
Martin Mittring@MittringMartin·
C++ reminder: for (std::string el : elements) is causing wasteful allocations, add "&", even if using "auto"
English
7
1
41
5.4K
hacking C++
hacking C++@hackingcpp·
@ninkibah Do you know of any C++ community in the Rhein-Main area? I don’t, but I haven’t looked since the pandemic. There used to be a (rather short-lived) C++ meetup in Wiesbaden.
English
1
0
2
381
Jonathan O'Connor
Jonathan O'Connor@ninkibah·
I'll be visiting Mainz next week, and I'd love to meet up with anybody in C++ or Chess communities.
English
2
0
2
1.7K
hacking C++
hacking C++@hackingcpp·
@TartanLlama Used to be in the WC camp. But this made my reconsider: MyConcept auto const& x vs. const MyConcept auto& x Have been using EC for a few years now and prefer to use it unless existing code base or other people call for WC.
English
0
0
2
148
Sy Brand
Sy Brand@TartanLlama·
Tag yourself
Sy Brand tweet media
English
40
28
85
0
hacking C++ retweeté
Jason Turner
Jason Turner@lefticus·
Major updates to my Ultimate CMake template: * fetch_content-able * CPM for dependencies * LTO by default * simplified usage * older versions are archived * hardening BY DEFAULT Designed to catch as many errors as possible, as early as possible github.com/cpp-best-pract…
English
2
11
113
9.5K