J
Jeff Relf
Hi all,
In my .CPP file, I have a line like this:
typedef struct { float Name, Amount; } ATypeDef [ 5 ];
Which I later use like this: ATypeDef XXX[ 7 ];
which is like doing this:
struct { float Name, Amount; } XXX [ 7 ] [ 5 ];
I know that I can't do this:
struct ATypeDef [ 5 ] { float Name, Amount; };
Is there some way to put the " typedef " on the left ?
In my .CPP file, I have a line like this:
typedef struct { float Name, Amount; } ATypeDef [ 5 ];
Which I later use like this: ATypeDef XXX[ 7 ];
which is like doing this:
struct { float Name, Amount; } XXX [ 7 ] [ 5 ];
I know that I can't do this:
struct ATypeDef [ 5 ] { float Name, Amount; };
Is there some way to put the " typedef " on the left ?