I am attaching a *.zip file with the following contents:
database.cpp
database.exe
WMinventory.dat
WMinventory.dat.cpy

Thanks for the help...and I will keep making changes until you guys can find mistakes. Plus, try crashing my program by enterint character instead of integars, etc...and tell me where my programme falls apart.

Also I like to use sizeof() for the size that way I never have to worry about changing the size of the array without changing the function. Since you are using a define it is less of a problem but I believe its a little better to use sizeof().

Code:

clrscr();

This is often unneeded and destructive.

Might look into using a switch/case instead of else if. I find it easier to read.