Aktualizovat „du6/program.c“
This commit is contained in:
parent
a2e7bf1ba3
commit
5c95d6b3b8
@ -95,10 +95,10 @@ int main()
|
||||
puts("Ziadne prihlasky");
|
||||
return 0;
|
||||
}
|
||||
printf("Prijati studenti:\n");
|
||||
puts("Prijati studenti:");
|
||||
for(int i = 0+1; i < 1+SIZE; i++){
|
||||
if(pole_smernikov[i] != NULL){
|
||||
printf("%s\n", pole_smernikov[i]);
|
||||
printf("%s", pole_smernikov[i]);
|
||||
} else{
|
||||
|
||||
}
|
||||
@ -109,7 +109,7 @@ int main()
|
||||
if(0 > (SIZE - pm)){
|
||||
puts("Neprijati studenti:");
|
||||
for(int i = SIZE+1; i<pm+1; i++){
|
||||
printf("%s\n", pole_smernikov[i]);
|
||||
printf("%s", pole_smernikov[i]);
|
||||
|
||||
free(pole_smernikov[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user