Изменить 'du6/program.c'
This commit is contained in:
parent
79e76f37fa
commit
a541a20d95
@ -35,6 +35,7 @@ char keep(struct LIS* list,int places){
|
||||
int count=0;
|
||||
char names[100];
|
||||
for(;fgets(names,100,stdin);){
|
||||
if(names[0]=='\n') continue;
|
||||
if(sscanf(names,"%s %s",list[count].fname,list[count].name)==2){
|
||||
count++;
|
||||
if(places>=count){
|
||||
|
Loading…
Reference in New Issue
Block a user