hey my name is duplaix..am new in c++ so i need help!
I have to write the following set of c++ functions
fromBinaryToDecimal: The function must accept a pointer to a one-dimensional, dynamically allocated, Boolean array together with an integer representing its length as parameters. You may assume that the array represents a positive value. The function’s return value is an unsigned integer.
fromDecimalToBinary: The function receives an unsigned integer as a parameter and returns a string.
fromHexToBinary: The function receives a string as a parameter and returns a string. Your function must check to make sure that the incoming string represents a valid hexadecimal value.
fromBinaryToHex: The function must accept a pointer to a one-dimensional, dynamically allocated, Boolean array together with an integer representing its length as parameters. You may assume that the array represents a positive value. The function’s return value is a string.
Overloaded versions of the fromBinary* functions which accept a string parameter.
A main function in a separate cpp file which demonstrates the use of your functions via a menu system.