Aktualizovat „du6/program.c“
This commit is contained in:
parent
5b518ecd30
commit
54e5f8a8d6
@ -35,7 +35,13 @@ int main()
|
||||
//char* r;
|
||||
//int q = 0;
|
||||
size_t pocet_znakov = 0;
|
||||
int antiInfC = 0;
|
||||
while (fgets(line,wSIZE,stdin)) {
|
||||
if(antiInfC == SIZE - 1){
|
||||
break;
|
||||
} else{
|
||||
antiInfC++;
|
||||
}
|
||||
k = 0;
|
||||
pocet_znakov = strlen(line);
|
||||
char* all = malloc(pocet_znakov);
|
||||
|
Loading…
Reference in New Issue
Block a user