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

  • rsasalm / 202 / Sun, 24 Jan 2010 12:04:00 GMT / 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:

    looking, hex-, decimal, editor, microsoft, visual c++, vc

  • http://www.7prog.com/visual-c-c++/193341/«« Last Thread - Next Thread »»
    1. 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 |

    2. 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 |