Прощание с Hello World
#include <iostream> #include <string> int main(int, char**) { std::string str("Hello, World!"); auto f = [str] { std::cout << str << std::endl; }; f(); f.__str = "Goodbay, World!"; f(); return 0; } $ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.81.0-gcc-12.2.0/include -std=gnu++2a Hello, World! Goodbay, World!
На скриншоте показан код на C++, который сначала выводит «Hello, World!», а затем изменяет строку на «Goodbay, World!» и печатает её снова. Шутка в намеренной опечатке в слове «Goodbay» и драматичном прощании с классическим приветствием программистов; такой мем отправляют как ироничную реакцию на уход, завершение или прощание. EN: The screenshot shows C++ code that first prints “Hello, World!” and then changes the string to “Goodbay, World!” before printing it again. The joke is the intentional misspelling of “Goodbye” and the dramatic farewell to the classic programmer greeting; this meme is sent as an ironic reaction to leaving, finishing, or saying goodbye.
C++ source code / исходный код C++code editor / редактор кодаterminal window / окно терминалаcompiler command / команда компилятораtext output / текстовый выводHello World string / строка Hello Worldmisspelled goodbye / опечатанное прощаниеdark console background / тёмный фон консолиgreen button / зелёная кнопка
- @ithueti / 9854 2023-07-19
- Type
- image
- Size
- 800×618 · 45.8 KiB
- Mood
- ироничный, абсурдный
- Language
- en
- Added