Hexadecimal Blues!!!!

This is a discussion on Hexadecimal Blues!!!! within the C++ Programming forums, part of the General Programming Boards category; why u dont convert the int to char a do a pointer on the char than read it out byte ...

  1. #16
    Registered User
    Join Date
    Sep 2009
    Posts
    37
    why u dont convert the int to char a do a pointer on the char than read it out byte for byte?

  2. #17
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,304
    Quote Originally Posted by ayan_2587 View Post
    Code:
    /* int x;
    x=0x4e2aff;
    How you plan to tell the difference between that and"
    Code:
    x=5122815;
    ?
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 12-02-2007, 04:55 AM
  2. would you explain to me? hexadecimal to decimal
    By shteo83 in forum C Programming
    Replies: 2
    Last Post: 02-25-2006, 02:55 PM
  3. Converting Float to Hexadecimal
    By denizengt in forum C Programming
    Replies: 3
    Last Post: 09-28-2003, 06:11 PM
  4. hexadecimal
    By pierremk in forum C++ Programming
    Replies: 2
    Last Post: 03-12-2002, 07:05 PM
  5. decimal to binary, decimal to hexadecimal and vice versa
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 12-08-2001, 10:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21