Курсовая работа: Інформаційно-довідкова система
}
}
break;
case 27:goto mi1;break;
}
goto mi2;
mi1:
}
void open_list()
{
clrscr();
FILE *f;
f=fopen("с:\\vuz.my","r");
char *s;
list.count=-1;
while(! feof(f))
{
list.count++;
fscanf(f,"%s\n",s);
// printf("%s\n",s);
char *p;
p = strtok(s,",");
int l=0;
while (p)
{
switch(l)
{
case 0:strcpy(list.m[list.count].name,p);break;
case 1:strcpy(list.m[list.count].adress,p);break;