Home » Category » Microsoft Visual C & C++

Microsoft Visual C & C++: looking for hex->decimal editor

202| Thu, 07 Feb 2008 20:07:00 GMT| rsasalm| Comments (2)
Hi ,

Sorry in advance if you find this mail two times.

I am using a program which generates values in hex and in order to plot I want to convert these values to decimals.
I wonder if there is any free editor which coverts hex values to decimals.
The program I am using, generates
the hex values in a file and it is a big file.

What I want is to paste all the hex values generated from the program and convert them to their corresponding decimal values.
Any help
regards
/rsasalm

Keywords & Tags: looking, hex-, decimal, editor, microsoft, visual c++, vc

URL: http://www.7prog.com/visual-c-c++/193341/
 
«« Prev - Next »» 2 helpful answers below.
Depending on the format of your initial data (HEX) you could import it into an Excel sheet (CSV etc.) and make a column or row that converts it. The method I use in VB to convert HEX to decimal is myint = val("&H" & [your hex value]). This assumes that the HEX values are strings as they must be. You need to watch out for lobyte hibyte order in your initial data and may have to swap or the like before converting. Hope this helps.

nebers | Sat, 10 Nov 2007 08:31:00 GMT |

Help with Edit control with Hex input (http://www.dev-archive.com/forum/showthread.php?s=&threadid=208661)

samhobbs | Sat, 10 Nov 2007 08:32:00 GMT |

Microsoft Visual C & C++ Hot Answers

Microsoft Visual C & C++ New questions

Microsoft Visual C & C++ Related Categories