Initializacia
This commit is contained in:
parent
127fb51225
commit
969442f6e7
@ -67,6 +67,10 @@ int main() {
|
|||||||
fgets(search, LINESIZE, stdin);
|
fgets(search, LINESIZE, stdin);
|
||||||
search[strcspn(search, "\n")] = '\0';
|
search[strcspn(search, "\n")] = '\0';
|
||||||
|
|
||||||
|
for (int i = 0; search[i]; i++) {
|
||||||
|
search[i] = tolower(search[i]);
|
||||||
|
}
|
||||||
|
|
||||||
printf("Zadaj jedalny listok:\n");
|
printf("Zadaj jedalny listok:\n");
|
||||||
while (read_pizza(&menu[count])) {
|
while (read_pizza(&menu[count])) {
|
||||||
count++;
|
count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user