pvjc26/du1
2026-03-04 19:54:37 +00:00
..
program.c Aktualizovat du1/program.c 2026-03-04 19:54:37 +00:00
README.md Přidat du1/README.md 2026-03-04 19:42:19 +00:00

Použitý AI model pri vypracovaní DÚ: Google Gemini

Prompt 1: ,,Could you please expain to me, how does this snippet of code work? priložil som snímku obrazovky zobrazujúcu čásť kódu z programátorského blogu k DÚ2 (https://student.kemt.fei.tuke.sk/pvjc/cvicenia/input) Prompt 2: ,,Could you explain to me how does the fgets() function work in C?" Prompt 3: ,,I would like to know please how does the sscantf() function work in C and what is the difference between it and scantf()?" Prompt 4: ,,What does it mean, if fgets() function in C returns the value of '1'?" Prompt 5: ,,can i pass a '1' instead of the macro EXIT_FAILURE into the exit() function for simplicity?"