CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2011
    Posts
    1

    Exclamation Reading binary files using structures

    I am pretty new in this c# development but, i have to read some data from a binary file that contains at first a header and next i have some information. The header contains several variables that i have to put into a structure but i don't know how to read this binary file with this structure and then see the result... first i will try to read only this header.
    Could you help? Any answer will be helpful. 10x

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: Reading binary files using structures

    Replies toa similar question on stackoverflow: http://stackoverflow.com/questions/2...nto-a-struct-c

    Hope that helps some!
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Tags for this Thread

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