-MUSTANG- / Publications
Forum
Passing a dynamic object array via reference
Hello everyone, I want to pass a dynamic object array via reference to another class. Here is an example how I tried it: void Class1 { MyObject *objectArray[]; // ... do fancy stuff with array Class2 class2 = new Class2(); class2.Create(objectArray); } void Class2 { MyObject