How can I define the size of an array in a struct?
i can implement struct in c++ like this:
struct test{
char name[8];
int age;
float salary;
...
} t;
then i read struct in file like this:
CFile f1,f2;
f1.Read(&t,sizeof(t));
or
f2.Write(&t,sizeof(t));
but how can i implement the procedure in c#?
kovanPosted Mar 19, 2004, 9:22 AM
tang_ericPosted Mar 18, 2004, 10:09 PM
kovanPosted Mar 18, 2004, 10:29 AM