|  | error C2061: syntax error : identifier ' - C++ ForumJust from looking through, here's what I notice: You #include fstream twice, once at the beginning, once in a function. You include using namespace std; multiple times. I don't know if those two will cause problems, but I suggest removing the multiple dec www.cplusplus.com |  |