8 ms·
Looks more like C than idiomatic C++ at a first glance.
by xwintermutex 11y ago
Looks more like C than idiomatic C++ at a first glance.
- experimental- 11y agoA very quick glance suggests to me that the only thing C++ specific there is the filename extension (although a C compiler would do a more thorough check than I do; and faster, even!)
- unscaled 11y agoAnd the single-line comments, if not using a C99-compliant compiler. I wouldn't be surprised if he was using Visual C++ and had to change the extension to support a comment syntax that doesn't make you want to strangle yourself.
- tcholas 11y agoWas going to comment exactly the same thing
- kachnuv_ocasek 11y agoBy the way, supposedly, he wrote this "years ago".