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

    Reading unknown struct from binary data file

    Hi all,

    I have a scientific binary data file of unknown struct that I would like to read into containers using C++. There are many column names, but only 6-20 of the columns contain an array of >5000 numerical values. What source code can I use to read the binary data file (struct consists of chars, int, and long) into an interpretable interface?

    Regards,

    Stevan

  2. #2
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,727

    Re: Reading unknown struct from binary data file

    What is the format of the binary data? How are the structs & values delimited?
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

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