why segmentation f ault(SIGSEGV) in linked list in c++

后端 未结 0 1090
梦谈多话
梦谈多话 2020-11-22 02:51
    int count()
    {
        node *current;
        int c=0;
        current=top;
        while(current->next != NULL)
        {
            c++;
            cur         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题