Delete node function working in cb ide but not in dev c++ ide