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