Input/Output Hex

Discussion in 'C' started by sevenlayercookie, Jul 16, 2006.

  1. sevenlayercookie

    sevenlayercookie New Member

    Joined:
    Jul 16, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I'm trying to write a program that when a user enters something, a hex value is changed based on what they enter. Like header 400021c0 in abc.xyz is changed from 0C to 55 ,etc.
    C/C++, Visual, whatever. Thanks
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Can you give the code snippet you have used to do the same.
     
  3. sevenlayercookie

    sevenlayercookie New Member

    Joined:
    Jul 16, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    well... I haven't gotten that far yet :\. I'm trying to find some code that would LET me write/read hex from a file. Thanks.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Try writing a code to read from a file and HEX part wont be that difficult to integrate.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice