program works fine until I call print_List function :
void print_List() {
Vagon *kondukter = head;
while(kondukter != 0) {
cout << kondukter->num<<" ";
kondukter = kondukter->p_next_num;
}
cout << kondukter->num<<" ";
}
and that it opens some some new boxs that says : win checking for solutions. I used debugger and it says its a segmentation fault, but dont know how to fix it. Please help, thanks