1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    Likes Received:
    364
    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,276
    Likes Received:
    364
    Trophy Points:
    83
    Try writing a code to read from a file and HEX part wont be that difficult to integrate.
     

Share This Page