void main(){...}
is not in the standard, but works on both MSVC and GCC (with warnings). I think it works on both C/C++, but you really shouldn’t use it in production. Just use int main(void){...}
, without any return value, which is permitted in the standard, and will return success iirc.
Bogus5553
joined 2 years ago
Coffee is still pretty cheap though? My coffee usually costs 20¢ a cup.
Any void main(){...}
enjoyers?
I don’t really understand why you’d want to censor the content. If your kids are really young, then they probably shouldn’t see the film to begin with, and if they are in their teens, then they have probably seen worse already.
Drink a cucumber
Pretty cool. May I ask tough, what’s the reason for doing this in BASH and not in something like Python?
If you’re the CIA, then you don’t need to own Google in order to use their intelligence.
Very funny joke. I laughed uncontrollably for an hour
view more: next ›
I personally think that C++ can be beautiful. For example:
std::filesystem::path
overrides the/
operator, for specifying parent paths. It’s the same as Kotlin’s OKIO and Pythons standard pathlib.