I'm an Occult Programmer, Anarquista, and a void* made manifest.
My passions include tattoos, open source software, build systems, mechanical keyboards, and DIY electronics.
I'm an Occult Programmer, Anarquista, and a void* made manifest.
My passions include tattoos, open source software, build systems, mechanical keyboards, and DIY electronics.
These actually fail the FizzBuzz challenge because they print numbers that are divisible by 3 and/or 5. The challenge specifically states to print Fizz, Buzz, or FizzBuzz INSTEAD of the number.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There's several ways to do it in C++ :)
The Classic
The "GOSH, MOM, IT'S GENERIC"
The "Calculated At Compile Time (stare into madness edition)"
number 3 is the Cthulu of FizzBuzz
I raise you the compile time calculated fizzbuzz in Nim ;)
Interested in adding this to the collection? š
C++20 isn't available yet, but we're a bit closer to this approach. :)
That last one scares me. Haha Iām not sure Iād know where to start reading it.
Thanks for jumping into the challenge with some great additions. š
Take that github.com/EnterpriseQualityCoding...
These actually fail the FizzBuzz challenge because they print numbers that are divisible by 3 and/or 5. The challenge specifically states to print Fizz, Buzz, or FizzBuzz INSTEAD of the number.