---
title: "#cpp-gotchas articles | Hashnode"
description: "Explore 1 articles tagged #cpp-gotchas on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/cpp-gotchas"
---

Tag

# #cpp-gotchas

1 posts · 0 followers

[Anish Tilloo](https://hashnode.com/@anishtilloo) · [Oct 4, 2025](https://hashnode.com/posts/the-tiny-mistake-that-broke-my-cpp-code-and-what-i-learned-from-it/68e17ad899af72b00afe0a41)

### [💥 The Tiny “#” Mistake That Broke My C++ Code (and What I Learned From It)](https://debugcpp.hashnode.dev/the-tiny-mistake-that-broke-my-cpp-code-and-what-i-learned-from-it?utm_source=hashnode&utm_medium=feed)

Discover the subtle difference between string literals and std::string in C++. Understand how "#+count" triggers pointer arithmetic, why it leads to undefin

4 min read · [debugcpp.hashnode.dev](https://debugcpp.hashnode.dev/the-tiny-mistake-that-broke-my-cpp-code-and-what-i-learned-from-it?utm_source=hashnode&utm_medium=feed)
