Is it possible to delete a non dynamic variable?
Or is it automatically deleted when I construct a new one with the same name?
int N;
int N;
Is this possible?
My purpose is, that I want to use an object from a class in a loop:
for(;;)
{
myobj = myclass(param1,param2);
}
but the class hasnt got an empty constructor: myclass();
Therefore I cannot write:
mycass myobj;
for(;;)
{
myobj = myclass(param1,param2);
}