When C++ Code Gets Overcomplicated
Hi, My code looks like this: #include <iostream> using namespace std; int main() { int ix,iy,iz; int *ixPtr = &ix,*&ixPtrRef=ixPtr; //the following statement flags a compiler error int &intArrayOfRefs[] = {ix,iy,iz}; return 0; } ></iostream>
A screenshot shows a deliberately confusing C++ code snippet with pointers, references, and an invalid array of references. The joke is that the code is so unnecessarily complicated and error-prone that it humorously represents messy programming. It is sent as a reaction to incomprehensible or overengineered code. EN: A screenshot shows a deliberately confusing C++ code snippet with pointers, references, and an invalid array of references. The joke is that the code is so unnecessarily complicated and error-prone that it humorously represents messy programming. It is sent as a reaction to incomprehensible or overengineered code.
- @profunctor_io / 2404 2019-06-26
- Type
- image
- Size
- 800×281 · 26.1 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added