C:\Daily Tax Exempt\Guest.h|24|error: use of enum 'GetPayment' without previous declaration|
C:\Daily Tax Exempt\Guest.h|24|error: expected unqualified-id before ')' token|
C:\Daily Tax Exempt\Guest.h|25|error: 'Payment' has not been declared|
C:\Daily Tax Exempt\Guest.h|37|error: 'm_Payment' does not name a type|
C:\Daily Tax Exempt\Guest.h||In member function 'void Guest::SetPayment(int)':|
C:\Daily Tax Exempt\Guest.h|25|error: 'm_Payment' was not declared in this scope|
||=== Build finished: 5 errors, 0 warnings (0 minutes, 3 seconds) ===|
GetPayment is not an enum, it returns an enum type called Payment. So the declaration has to be Payment GetPayment(). Now, remember that in C++ things have to be declared before you use them. On lines 24, 25, the compiler hasn't seen what Payment is yet. Move line 26 up before 24. Lastly, what is with line 37? Variable declarations are "Type Name" while you wrote "Name Type".
Also, this is a bit had to read. Newline is your friend.
What is "this" ? If you want your code interact with a database, you need a library like sqlite or something more sophisticated. I have very little experience with this tough.
I am not going to use sqlite or any other database. I just want to be able to put it in a binary file and also have it printable on command. I can put all of this in a text file. I just can't seem to read a text file into variables in my programs. I'd rather not have the save file as a text file though. That way no one can change the file through a text editor.