void ReadFile(const char* file)
{ ComputerLink *p,*t; FILE* fp = 0;
fp = fopen(file,"r");
if (fp == 0)
{ printf("file open error\n");
return ; } //
head = (ComputerLink*)malloc(sizeof(ComputerLink));
head->next = 0;
p = head;
0 等价于 NULL
#define 0 NULL