February 27th, 2009, 09:15 AM
Reading unknown struct from binary data file
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?
February 27th, 2009, 09:54 AM
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
Click Here to Expand Forum to Full Width