EyesAllAfire
Programmer
I am trying to build a file handling program and I am using a pointer to a custom class for certain variables and functions. But everytime I used the pointer I get 3 errors.
error C2143: syntax error : missing ';' before '*'
error C2501: 'CPerson' : missing storage-class or type specifiers
error C2501: 'm_pCurPerson' : missing storage-class or type specifiers
These are the errors I am getting and I don't know how to fix them. Any ideas?
error C2143: syntax error : missing ';' before '*'
error C2501: 'CPerson' : missing storage-class or type specifiers
error C2501: 'm_pCurPerson' : missing storage-class or type specifiers
These are the errors I am getting and I don't know how to fix them. Any ideas?