memesearch
Spaghetti code Hello World

Spaghetti code Hello World

Download Find similar pictures
Text on the meme
#include <iostream> int main(int argc, char* argv[]) { char spaghetti_ingredients[62] = { 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x21 }; char target[12] = { 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x21 }; for (int i = 0; i < 12; i++) { int character; while (character = spaghetti_ingredients[i] % 6) { if (character == target[j]) { printf("%s", target[j]); break; } } } }
What it means

A pink code-editor screenshot shows intentionally overcomplicated C++ code that stores characters as hexadecimal values and tries to reconstruct “Hello World” through convoluted loops and comparisons. The joke is that a trivial beginner program has been turned into absurd spaghetti code, making the simple output look needlessly complicated. EN: A pink code-editor screenshot shows intentionally overcomplicated C++ code that stores characters as hexadecimal values and tries to reconstruct “Hello World” through convoluted loops and comparisons. The joke is that a trivial beginner program has been turned into absurd spaghetti code, making the simple output look needlessly complicated.

Objects
Tags
Source
Type
image
Size
446×698 · 56.7 KiB
Mood
absurd, sarcastic
Language
en
Added