Right, so your original input is actually the representation of a hex value not in binary, but using your character set (99.9999999999999999% likely ASCII).
From your example above, the equivalent represenation of the numerator in "binary" would be:
Code:
unsigned char numerator[] = { 0xAC, 0xBA, 0xCA, 0x23, 0x42, 0x35, 0x3C, 0xBC, 0xAA, 0xC4, 0x35, 0x2C };
With regards to the rest of your questions, I still don't understand what you want to achieve? Are you trying to divide two very large hex numbers?
For example, 0xacbabca2342353cbcaac4352c divided by 0xcb1121212 is 0xA6F.8E3...
If not, then what?
As for functions, what exactly do you want to achieve? Break the problem into clear to understand pseudocode, with several functions, then attempt to write the functions, or ask for help?