[LC++]temporals objects

Julien Patrick Claassen julien at c-lab.de
Fri Dec 21 04:03:14 UTC 2001


Hello!
  As you are so worried about this problem, I think it should be
integrated in a bigger program. So why not just do:
  OtherClass *b;
  and anywhere you need an object of type OtherClass you can do:
  b = new OtherClass("this");
  a.push_back(b);
  delete b;

  I think that will be some more code to write in your main-program, but
it would work, I suppose.
  Kindest regards
          Julien

Julien Patrick Claassen
jclaassen at gmx.de
julien at c-lab.de
http://www.geocities.com/jjs_home

SBS C-LAB
Fuerstenallee 11
33102 Paderborn

Phone: (+49) 5251 60 6060
Fax: (+49) 5251 60 6065

www.c-lab.de





More information about the tuxCPProgramming mailing list