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

Reply via email to