input is wrong. I didn't use another struct, i used the one of main.
Type: Posts; User: std10093
input is wrong. I didn't use another struct, i used the one of main.
Hmm it seems that you don't have it clear in your mind about file scattering. I would suggest you to write everything in one file (main.c) and then we can divide the code into files:)
You see here some code to copy from one file to another. In your case you need only to read, so pick up the things you need from the link.
Now about structs, read here.