Philip Sheard wrote: > I am bit confused, because AFAIK in c# you cannot delete an > object explicitly - only the garbage collector can delete > objects.
Yes, but I'm in C++ here, so I had to take care of that. > And your code looks a bit odd, too. My C++ is a bit rusty. The C# code is a numerical program I had hoped to port in C but I had to pick C++ because of the heavy use of operator overloading for vector and matrices. > Should it not be delete [] gr? Yes, you're right. And it works. Another reader suggested "delete gr[];" This doesn't compile. Thanks. Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
