Show HN: C/C++ Cheatsheet – a modern, practical reference for C and C++
Posted by crazyguitar 1 day ago
Hi HN,
I’m the creator of C/C++ Cheatsheet — a modern, practical reference for both C and C++ developers. It includes concise snippet-style explanations of core language features, advanced topics like coroutines and constexpr, system programming sections, debugging tools, and useful project setups. You can explore it online at https://cppcheatsheet.com/.
I built this to help both beginners and experienced engineers quickly find clear examples and explanations without digging through fragmented blogs or outdated docs. It’s open source, regularly maintained, and contributions are welcome on GitHub.
If you’ve ever wanted a lightweight, example-focused guide to: - Modern C++ (templates, lambdas, concepts) - C fundamentals and memory handling - System programming - Debugging & profiling …this site aims to be that resource.
Any feedback is welcome. Thank you.
Comments
Comment by pjmlp 22 hours ago
Also probably something similar for C, like using SDS (https://github.com/antirez/sds) instead of standard library calls.
Other than that, great work.
Comment by crazyguitar 18 hours ago
Comment by Neywiny 7 hours ago
Comment by nmaleki 20 hours ago
Comment by aeve890 20 hours ago
I'd check this[0] excellent mega rant about c++ and take the best parts to create a truly "contemporary c++" cheatsheet.
Comment by crazyguitar 18 hours ago