Delete a node of a graph isn't setting value to NULL

后端 未结 0 649
别那么骄傲
别那么骄傲 2020-12-06 06:59
int delete_node(node* vertex)
{
if(vertex == NULL || !in_edges_list(allverticies, vertex))
{
    return -1;
}
    
edgesnode* p = vertex -> edges;
while(p != NULL         


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