hello,
If I have a structure like this:
extern struct mystruct {
int[100] myarray;
char[50] chararray;
}
how can I make another structure exactly the same, with all the same values in the arrays?
thanks a lot
Printable View
hello,
If I have a structure like this:
extern struct mystruct {
int[100] myarray;
char[50] chararray;
}
how can I make another structure exactly the same, with all the same values in the arrays?
thanks a lot
I'm not sure what you're hoping to accomplish with the extern keyword there, but that struct's auto-defined operator= should do the job well enough.
I am accessing FORTRAN code with the extern reference. Okay I will assume a simple '=' does the job.