Virgin Main vs Chad WinMain
Virgin main Chad main int main() { return 0; } int APIENTRY WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow)
A comparison contrasts the simple C/C++ `main()` function with the more elaborate Windows `WinMain()` entry point. The joke presents the basic version as a virgin and the powerful, parameter-heavy Windows version as a Chad, used as a reaction to overcomplicated or more serious programming solutions.
code editor screenshot / скриншот редактора кодаC/C++ source code / исходный код C/C++Windows API function / функция Windows APItext labels / текстовые подписиleft panel / левая панельright panel / правая панельcurly braces / фигурные скобкиhighlighted return statement / выделенная строка returnblack code background / чёрный фон кода
- @profunctor_io / 5937 2020-12-04
- @right_wing_dev_squads / 6603 2023-04-29
- @right_wing_dev_squads / 9485 2024-04-22
- Template
- Virgin vs. Chad
- Type
- image
- Size
- 800×301 · 21.3 KiB
- Mood
- ironic, humorous
- Language
- en
- Added