123
This commit is contained in:
parent
27f71d4fc9
commit
ba796e0c40
@ -17,7 +17,7 @@ int main() {
|
|||||||
fgets(name, 50, stdin);
|
fgets(name, 50, stdin);
|
||||||
while (fgets(name, 50, stdin) && name[0] != '\n') {
|
while (fgets(name, 50, stdin) && name[0] != '\n') {
|
||||||
int checker = 0;
|
int checker = 0;
|
||||||
for(int i = 0;i < counter && i < max;i++){
|
for(int i = 0;i < counter;i++){
|
||||||
if(strcmp(prihlasky[i], name) == 0)
|
if(strcmp(prihlasky[i], name) == 0)
|
||||||
checker = 1;
|
checker = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user