Hello,
I have a application developed in vb, i want to convert it into 'C',
please can anyone help me... :( it's very urgent.. i am attaching the program here..
Thanks in advance,
Poornima..
Printable View
Hello,
I have a application developed in vb, i want to convert it into 'C',
please can anyone help me... :( it's very urgent.. i am attaching the program here..
Thanks in advance,
Poornima..
Using standard C
Use sscanf with convertion parameter %X or strtol to convert the hex strings to numbers.
Use pow to raise the base with the exponent.
Use % to mod the number.
Use sprintf with convertion parameter %X to convert the number back to a hex string.
Your C code will be very small compared to the VB you posted.
Hello John,
Thanks for your help..
I hope that's enough to get you started. :thumb: