Hi everybody,
I have been trying to know why my visual c++ compiler pops up the following message,
error C2065: 'ifstream' : undeclared identifier
Here is what I think is the conflicting line in my code,
// Open header file for input
ifstream is( "payroll", ios::binary | ios::nocreate );
Even though I've included the fstream.h I think that I should define a library for the streams. Please I have read everything in the books and I know this should be a simple problem but no luck.
Thank you in advance,
Vanleurth
I have been trying to know why my visual c++ compiler pops up the following message,
error C2065: 'ifstream' : undeclared identifier
Here is what I think is the conflicting line in my code,
// Open header file for input
ifstream is( "payroll", ios::binary | ios::nocreate );
Even though I've included the fstream.h I think that I should define a library for the streams. Please I have read everything in the books and I know this should be a simple problem but no luck.
Thank you in advance,
Vanleurth