摘要:
#include "stdafx.h"#include "malloc.h"typedef struct node{ int data; struct node *next;}lnode;void listinitiate(lnode **head){ *head=(lnode *)malloc(sizeof(lnode)); (*head)->next=NULL;}void listinsert(lnode *head,int n,int m){ lnode *s; lnode *p=head; int i=0; while(i<m) { 阅读全文