I am trying to write a function that adds together two numbers that are in an arbitrary base.
So far i have managed to convert arbitrary base n numbers but the function to add them together is causing me problems.
Anyone got any ideas?! It's getting quite urgent!
At the moment the function is:
int addBaseN( BaseNnum sum, BaseNnum a, BaseNnum b, int base )
where sum, a and b are arrays and base is an int.
If anyone can help me out i would be most appreciative! I have attached the program so people can see where I am going!