Re: [newbie] CTypedPtrArray::RemoveAll()
From: Bill Thompson (billt61_at_rgv.rr.com)
Date: 01/01/05
- Next message: Frank Hickman [MVP]: "Re: PlaySound"
- Previous message: Severian: "Re: How to create a new Ms Access file"
- In reply to: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Next in thread: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Reply: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 1 Jan 2005 01:33:35 -0600
"Mark Randall" <strike@rapiercom.freeserve.co.uk> wrote in message
news:#RfNek77EHA.2676@TK2MSFTNGP12.phx.gbl...
> while ( mydata.GetCount( ) )
> {
> delete mydata.GetHead( );
> mydata.RemoveHead( );
> }
>
> Standard CTypedPtrList anihalator
>
> - MR
>
>
while (!mydata.IsEmpty())
delete mydata.RemoveHead();
- Next message: Frank Hickman [MVP]: "Re: PlaySound"
- Previous message: Severian: "Re: How to create a new Ms Access file"
- In reply to: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Next in thread: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Reply: Mark Randall: "Re: [newbie] CTypedPtrArray::RemoveAll()"
- Messages sorted by: [ date ] [ thread ]