Lars Kyllingstad wrote:
You allocate a struct on the heap using the "new" keyword.struct Foo { ... } Foo* foo = new Foo; Note that "new" returns a pointer for non-object types.
Perfect. Thanks! --benji
Lars Kyllingstad wrote:
You allocate a struct on the heap using the "new" keyword.struct Foo { ... } Foo* foo = new Foo; Note that "new" returns a pointer for non-object types.
Perfect. Thanks! --benji