![]() |
| | #1 |
| C/C++ Join Date: Nov 2004 Location: Louisiana, USA
Posts: 209
| delete [] |
| homeyg is offline | |
| | #2 |
| Registered User Join Date: Mar 2003
Posts: 3,888
| >> Is this true? No. If you allocate an array using new, you must use delete[]. Perhaps you're thinking of sizeof(array)... gg |
| Codeplug is offline | |
| | #3 | |
| C/C++ Join Date: Nov 2004 Location: Louisiana, USA
Posts: 209
| Quote:
| |
| homeyg is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help on understandind arrays | C++mastawannabe | C++ Programming | 9 | 06-16-2007 10:50 PM |
| delete and delete [] | Lionel | C++ Programming | 8 | 05-19-2005 01:52 PM |
| Which comes first...delete [] or NULL? | Waldo2k2 | C++ Programming | 13 | 08-09-2002 09:05 AM |
| Problem need help | Srpurdy | C++ Programming | 1 | 07-24-2002 12:45 PM |
| memory management... | master5001 | Game Programming | 24 | 01-07-2002 05:50 PM |