resizing array, deleting old array terminates program[code] list = temp; // [tt]list[/tt] contains the same address [tt]temp[/tt] does delete [] tem...
Whats the point of social networking?[quote=AceDawg45]I must agree with fabtasticwill's argument. [/quote] I have yet to see any argument...
resizing array, deleting old array terminates programThe first time this function is called: [code] list = temp; delete [] temp;[/code] [tt]list[/tt] ...
valgrind malloc error, pointer being freed was not allocatedYou don't have any member, [tt]token[/tt], that is assigned a value in the constructor.
valgrind malloc error, pointer being freed was not allocatedThe stack trace shows the problem is in your Tokenizer destructor. However, since you posted the co...