Well, I have just written all of this code, and then made lots of edits, compiled and when I run it, I get STATUS_ACCESS_VIOLATION. And I can't work out where the error lies. It is a very basic Database program BTW.
Here is the code:
And here is the file database/fruit.tbl (You must create this file first)
Thanks in advance.