Prepis citacieho algoritmu (tak aby daval vacsi zmysel)

This commit is contained in:
Tomáš Vlček 2026-03-12 00:02:07 +00:00
parent 259eddc707
commit f9e10109ca

View File

@ -16,15 +16,9 @@ struct student {
int main() {
//citanie vstupu
//nastavenie vstupu
char line[SIZE];
memset(line,0, sizeof(line));
char* r = fgets(line,SIZE,stdin);
if (r == NULL)
{
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
}
//helper/pomocne lok. premeny
char najdMeno [32];