free() & delete() - C++ Forum - cplusplus.com - The C++ Resources Network
As you can see in the code example above, free( ) can delete an array of resources, or a single resource. With delete/delete[ ], you have to tell it what type of block it's deleting. For example, if use delete[ ], you're deleting an array. If you use dele...