Initialization
This commit is contained in:
parent
3c8d18c1d0
commit
e8c5562217
@ -46,10 +46,11 @@ int main() {
|
|||||||
char name[SIZE];
|
char name[SIZE];
|
||||||
if (sscanf(line, "%d %[^\n]", &votes, name) != 2) {
|
if (sscanf(line, "%d %[^\n]", &votes, name) != 2) {
|
||||||
if (successful_lines >= 1){
|
if (successful_lines >= 1){
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
printf("Nepodarilo nacitat nic");
|
printf("Nepodarilo nacitat nic\n");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user