Prepis citacieho algoritmu (tak aby daval vacsi zmysel)
This commit is contained in:
parent
259eddc707
commit
f9e10109ca
@ -16,15 +16,9 @@ struct student {
|
|||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
//citanie vstupu
|
//nastavenie vstupu
|
||||||
char line[SIZE];
|
char line[SIZE];
|
||||||
memset(line,0, sizeof(line));
|
memset(line,0, sizeof(line));
|
||||||
char* r = fgets(line,SIZE,stdin);
|
|
||||||
|
|
||||||
if (r == NULL)
|
|
||||||
{
|
|
||||||
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
//helper/pomocne lok. premeny
|
//helper/pomocne lok. premeny
|
||||||
char najdMeno [32];
|
char najdMeno [32];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user