fread reads in the number of bytes you tell it to read in - it could be what was left over from a recipe or anything. Different compilers will pad a struct differently. You could use...
Type: Posts; User: Adak
fread reads in the number of bytes you tell it to read in - it could be what was left over from a recipe or anything. Different compilers will pad a struct differently. You could use...
Think of your kitchen faucet, and think of your toilet. You flush() only the toilet, not the kitchen faucet. That's how it is with fflush() - it works for output streams only, not input.
The trick...
"Hight", should be "Height". ;)
Instead of one big function, break it up into several smaller one's:
menu, readFile, search, edit, delete, etc.
I was expecting to see fname and lname as...