C语言 问题 求大神
#include<stdio.h>#include<stdlib.h>
#include <malloc.h>
#define False 0
#define True 1
#define Null 0
#define maxsize 20
#define maxvertexnum 20
typedef struct node{
int adjvex;
struct node *next;
}edgenode;
typedef struct {
char vertex;
edgenode *link;
}vexnode,AdjList[maxvertexnum];
typedef struct{
AdjList adjlist;
int n,e;
}Graph;
typedef struct{
int *data;
int *top;
}seqstack;
vexnode g[maxvertexnum];
int visited[maxvertexnum];
void CreatAdjList(Graph &G){
int i,j,k;
edgenode *s;
char c;
printf("please input the set points and the number of edges:\n");
scanf("%d,%d",&G.n,&G.e);
c=getchar();
printf("please input vertex information ( vertex number ):\n");
for(i=1;i<=G.n;i++){
printf("The %d vertices",i);
scanf("%c",&G.adjlist[i].vertex);
c=getchar();
G.adjlist[i].link=NULL;
}
printf("please input the edge information():\n");
for(k=1;k<=G.e;k++){
printf("please enter please input %d edges starting vertex number:\n",k);
scanf("%d",&i);
printf("please enter please input %d edges with a vertex number:\n",k);
scanf("%d",&j);
s=(edgenode*)malloc(sizeof(edgenode));
s->adjvex=j;
s->next=G.adjlist[i].link;
G.adjlist[i].link=s;
}
} 为什么总提示 unable to open include file "MALLOC.H"