Initialization
This commit is contained in:
parent
05e3c06320
commit
373fd7fbeb
@ -38,7 +38,8 @@ int main() {
|
||||
// check if the line is empty
|
||||
if (r == NULL || (r[0] == '\n' && strlen(r) == 1)) {
|
||||
// end of input
|
||||
break;
|
||||
printf("Nepodarilo nacitat nic\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
// parse the string and extract number of votes and student name
|
||||
|
Loading…
Reference in New Issue
Block a user