#include <iostream.h>struct NODE{int data;NODE *next;};NODE *head = NULL;int data[6] = {25,41,17,98,5,67};void InsertList(NODE **head, int aData, int bData);void DeleteList(NODE **head, int aData);void OutputList(NODE *head);void main(){for (int i=0; i<6; i++)InsertList(&head, data[0], data[i]);OutputList(head);DeleteList(&head, 98);DeleteList(&head, 41);OutputList(head);}請各位大俠指教啊
源程序如下內(nèi)容,請大佬指點一下
慕蓋茨4494581
2023-03-16 18:14:23