CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    Hyderabad, India
    Posts
    24

    Thumbs up Problem with Bytes

    I wanted to byte twiddle a double value!! for example if EF 01 are two bytes I wanted to change it to 01 EF. Similarly I wnated to do this for a double value. Any one who can help me?????

    Shivakumar Thota
    Shivakumar Thota

  2. #2
    Join Date
    May 2002
    Location
    Quebec City, Canada
    Posts
    374
    you could be using unions.

    check this post:

    http://www.codeguru.com/forum/showth...nion+vs+struct
    Martin Breton
    3D vision software developer and system integrator.

  3. #3
    Join Date
    May 2002
    Location
    Hyderabad, India
    Posts
    24

    Thanks!

    [QUOTE]Originally posted by proxima centaur
    [B]you could be using unions.

    Thank you very much, your idea helped a lot and enabled me to complete the project succesfuly.

    Thank you very very very much
    Shivakumar Thota
    Shivakumar Thota

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured