i didn't mean that using .h files makes your program non standard. it has a lot of other issues too. you have included too many library files, and haven't used them.
main is not returning any value.
identifiers are not following conventions.
no comments are used to make any other programmer aware of whats happening in the program.
record.txt file is stored in the same place your exe file is stored. you can also provide a full path in the codes, like, "c:\RecordManager\Database\record.txt" etc. I just presented an example.