3 ms·
Looks more like old-school C to me, although the variable names are a bit too long for a real C programmer :) (but I don't know whether C already had the "cons
by tralarpa 3y ago
Looks more like old-school C to me, although the variable names are a bit too long for a real C programmer :)
(but I don't know whether C already had the "const" keyword at that time)
- knome 3y agoIt is C. Otherwise, they would have used `<cstdio>` or `<iostream>` rather than `"stdio.h"` However, it is written in the common parts of the languages, so it will compile under either gcc as a C file or g++ as a cpp file just fine without changes.
- CamperBob2 3y agostdio.h works just fine in C++.
- turminal 3y ago> (but I don't know whether C already had the "const" keyword at that time) It did, "const" exists since C89.