line 8 should probably be of type string since u probably want a name longer than 1 character. Also note that 'cin' won't work if u try putting in a full name like: "John Deer" because that space between John and Deer is a delimiter. Inputting any bad character at anytime will case 'cin' and thus ur program to crash so there should be plenty of error checking the values typed in by the typical user.

I highly recommend not using keyword goto as well for controlling the flow as it can be incredibly difficult to debug in the future...There are simple fixes for example:

line 46: normally u should just open the file for either reading OR for writing, not both. You know better than I what you need but I don't see where u need any of: in, ate, binary flags...maybe app though...

There seems to be another problem with the 2nd half with but I'll let u try to sort it out first...

dev c++ is a no-no, if you want to use something like it I believe several forks are available, like orwells dev c++, the reason is dev c++ hasn't been updated in years, so it doesn't and never will support the latest versions of c++