Hi people!

I want to know how I can check if a variable that allocates a class is empty or not and I also want to know how to destroy it.

this is because I have a variable that is an array of a class:

ClassUser *user[5];

then at some point in the code:

user[connection_number] = new ClassUser();

this is needed because I must handle multiple connection to a server and they can't be more than the number of sql licenses that we have.

thanks in advance!