Quote Originally Posted by Shakti
Just for the future: try to code smaller parts of the program, compile and test it. If it crashes you know what part of the code you added so you check that part of the code. Repeat until the program is finished. This way you dont have 9 files to go through to find a runtime error, you might have a function instead.
yes i did this already and i know that the problem is in linkedlist.cpp " not sure"
in this function :
Code:
void LinkedList::push_back (CalcCommand* data)
{
	
	CalcCommand* temp = fFirst;
    while (temp -> getNext () != 0)
    {
        temp = temp -> getNext ();
    }
    
	temp -> setNext (data);//this will add data to the end of the list
	data -> setNext (0); //and this will set the one after the end of the list to NULL
}