Opening a File in C++
I cannot stop thinking about this. Andrew created Zig and ~15 years ago asked on SO how to open a file in C++ How do you open a file in C++? I want to open a file for reading, the C++ way. I need to be able to do it for: • text files, which would involve some sort of read line function. • binary files, which would provide a way to read raw data into a char* buffer.
A tweet shares an old Stack Overflow question by Andrew Kelley, the creator of Zig, asking how to open a file in C++. The joke is the contrast between a beginner-level C++ question from years ago and Andrew later creating a programming language, making the old post unexpectedly amusing and relatable to programmers sharing it as a humorous origin story. EN: A tweet shares an old Stack Overflow question by Andrew Kelley, the creator of Zig, asking how to open a file in C++. The joke is the contrast between a beginner-level C++ question from years ago and Andrew later creating a programming language, making the old post unexpectedly amusing and relatable to programmers sharing it as a humorous origin story.
tweet screenshot / скриншот твитаStack Overflow question / вопрос на Stack Overflowcomputer code / компьютерный кодC++ source code / исходный код на C++Zig programming language / язык программирования Zigfile / файлtext file / текстовый файлbinary file / бинарный файлchar pointer / указатель charcomputer screen / экран компьютераprofile avatar / аватар профиля
- @gentoomemes / 5697 2023-08-06
- Type
- image
- Size
- 800×756 · 71.3 KiB
- Mood
- nerdy, ironic
- Language
- en
- Added