FizzBuzz program implementation in C++