Quote:
my program doesnt work
Unfortunately, as is so often the case, there is no meaningful error description here, so we can only guess. The compiler reports that an integer is converted into a pointer here:
Kerdesek *ujelem =(Kerdesek *)malloc(sizeof(Kerdesek));
If you do not get the message you should change the compiler setting.
The error occurs because a suitable header should be used for malloc.
Unfortunately, an example CSV file is also missing.
To narrow down the error, it would be good to describe what exactly is not working as desired.
Note: The source code is extremely difficult to read because of the Hungarian names. It would make the answer much easier if variables, outputs and comments were translated.