Aktualizovat „du6/program.c“
This commit is contained in:
parent
b1b7feb049
commit
6e2ab46cfd
@ -24,7 +24,7 @@ int main(){
|
|||||||
}
|
}
|
||||||
else if(tmpCh == '\n') break;
|
else if(tmpCh == '\n') break;
|
||||||
ungetc(tmpCh, stdin);
|
ungetc(tmpCh, stdin);
|
||||||
scanf("%s", names[i]);
|
scanf("%[^\n]", names[i]);
|
||||||
realLines++;
|
realLines++;
|
||||||
tmpCh = getc(stdin);
|
tmpCh = getc(stdin);
|
||||||
if(tmpCh == EOF) break;
|
if(tmpCh == EOF) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user