Hello I have class where is this function wich works with array inside class: Something like this:
class someclass
{
public:
node *array;
private:
... some class function
}
and in class function I m changing size of array and some parameters and going trought array of node but my problem is when I call function (same function) that goes trouht array again old values are printed althought when I cheked my array trought cout it seemed to be ok and when I use function for printing in file it prints values correctly ... so I think that array is stuck somewhere in memory of that function is there way to free it ? array
