I used the class in the while loop in the main function.....
the class then calls another file "applicant.cpp" which contains the details of the function. I didn't post it because it is too long.....
Do you think perhaps there is problem in that file?

I erased all the variables in the main function, but still getting error that say "syntax error, idendifier string"...