D
Dirk Reske
hello,
I have following problem:
I have a struct "MainStruct"
now I want to build structs which all "starts" with MainStruct.
struct1
{
MainStruct var;
anotherStruct var2;
}
struct2
{
MainStruct var;
AnotherStruct2 var2;
}
......is there a way to do this?
And how can I declare a method, which accepts all structs which a derived
from MainStruct as argument?
I hope you have understood all (I'm from Germany)
I have following problem:
I have a struct "MainStruct"
now I want to build structs which all "starts" with MainStruct.
struct1
{
MainStruct var;
anotherStruct var2;
}
struct2
{
MainStruct var;
AnotherStruct2 var2;
}
......is there a way to do this?
And how can I declare a method, which accepts all structs which a derived
from MainStruct as argument?
I hope you have understood all (I'm from Germany)