Initialization
This commit is contained in:
parent
b48b1f925d
commit
fbd20929dd
@ -46,8 +46,7 @@ int main() {
|
|||||||
if (sscanf(line, "%d %[^\n]", &votes, name) != 2) {
|
if (sscanf(line, "%d %[^\n]", &votes, name) != 2) {
|
||||||
// error, input was not in expected format
|
// error, input was not in expected format
|
||||||
// print error message and exit
|
// print error message and exit
|
||||||
fprintf(stderr, "Nepodarilo␣nacitat␣nic\n");
|
break;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if this student already exists
|
// check if this student already exists
|
||||||
|
Loading…
Reference in New Issue
Block a user