Mark Dickinson wrote:
On Oct 20, 10:51 pm, Tommy Grav wrote:
I have created a binary file that saves this struct from some C code:
struct recOneData {
char label[3][84];
char constName[400][6];
double timeData[3];
long int numConst;
double AU;
On Oct 21, 9:18 am, Mark Dickinson wrote:
> On Oct 20, 10:51 pm, Tommy Grav wrote:
>
> > def read_header(cls):
> > hdrData = "84s"*3
> > constNData = "6s"*400
>
> I'm confused: why is this not "400s"*6 rather than "6s"*400?
> Doesn't constName[400][6] mean 6 lots of constN
On Oct 20, 10:51 pm, Tommy Grav wrote:
> I have created a binary file that saves this struct from some C code:
>
> struct recOneData {
> char label[3][84];
> char constName[400][6];
> double timeData[3];
> long int numConst;
> double AU;
> doubl
Tommy Grav wrote:
> I have created a binary file that saves this struct from some C code:
>
>struct recOneData {
> char label[3][84];
> char constName[400][6];
> double timeData[3];
> long int numConst;
> double AU;
> double EMRAT;
> long
"Tommy Grav" wrote in message
news:d705ab12-0bee-495a-b1e5-c43245e40...@pha.jhu.edu...
I have created a binary file that saves this struct from some C code:
struct recOneData {
char label[3][84];
char constName[400][6];
double timeData[3];
long int numConst;
En Tue, 20 Oct 2009 18:51:21 -0300, Tommy Grav
escribió:
I have created a binary file that saves this struct from some C code:
struct recOneData {
char label[3][84];
char constName[400][6];
double timeData[3];
long int numConst;
double AU;
I have created a binary file that saves this struct from some C code:
struct recOneData {
char label[3][84];
char constName[400][6];
double timeData[3];
long int numConst;
double AU;
double EMRAT;
long int coeffPtr[12][3];
long int DENUM;