Write a recursive C++ program that can accept two positive integer as inputs. The first integer being a number to be converted to a different base and the second being the base required.
Your program should accept only bases between 2 and 16 inclusive. Your output should be the first integer in base of the second integer.