Re: Hex to Ascii Converter
you could download the ASCII to HEX software , ASCII to HEX is a simple little utility that allows the user to convert data into ASCII Hex, or vice versa. Convert hexadecimal strings to ASCII text with a single click. Discover what that incomprehensible string of hex characters converts to, use everyday with your existing IDE or use it to look up what the code for the ASCII dollar sign is, etc..
Re: Hex to Ascii Converter
You can try this code
Quote:
Public Function hex2ascii(ByVal hextext As String) As String
For y = 1 To Len(hextext)
num = Mid(hextext, y, 2)
Value = Value & Chr(Val("&h" & num))
y = y + 1
Next y
hex2ascii = Value
End Function
Re: Hex to Ascii Converter
Something like should also be useful :
Quote:
# include <stdio.h>
int main (int argc, char ** argv)
(
unsigned int a, count = 0;
char c, s [1024];
while (1)
(
scanf ( "% x", & a);
c = char (a);
s [count + +] = c;
)
s [account] = '\ 0';
printf ( "% s", s);
return 0;
)