Logo
Copy-paste: The original code reuse.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Learning-cpp Memes

Posts tagged with Learning-cpp

Learning Cpp As C With Classes

C++ Programming
5 months ago 318.1K views 0 shares
Learning Cpp As C With Classes
Welcome to C++, where arrays decay to pointers faster than your career expectations after reading legacy code. Someone just discovered that when you pass an array to a function, it immediately forgets its own size and becomes a humble pointer. No size information, no bounds checking, just raw pointer energy. So now you're stuck passing array sizes as separate parameters like it's 1972. Meanwhile, Python devs are over there with their .length property, sipping lattes, while C# folks have their nice Array.Length . But here you are, manually tracking array sizes like some kind of memory accountant. The "C with classes" nickname hits different when you realize Bjarne Stroustrup gave us templates, RAII, and move semantics, but somehow we're still manually babysitting array bounds in 2025. At least we have std::vector and std::array now... if you can convince your team to stop writing C code in .cpp files.

Today's picks

KAIWEETS Digital Multimeter TRMS 6000 Counts Voltmeter Auto-Ranging Fast Accurately Measures Voltage Current Amp Resistance Diodes Continuity Duty-Cycle Capacitance Temperature for Automotive

KAIWEETS Digital Multimeter TRMS 6000 Counts Voltmeter Auto-Ranging Fast Accurately Measures Voltage Current Amp Resistance Diodes Continuity Duty-Cycle Capacitance Temperature for Automotive

Affiliate
$37.99
Was kinda fun in undergrad, but then I grew up.

Was kinda fun in undergrad, but then I grew up.

Frontend
21.4K views 2 years ago
GearScouts.com

GearScouts.com

Sponsored
Power stations