Im just curious, say you have a function with a parameter like this:
void function(char *string)
{
}
Would you need to add a 'delete string;' at the end of the function to prevent a memory leek, or is it not neccessary, as string is a parameter. Thanks.