المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : head file including problem



C++ Programming
04-25-2009, 02:24 PM
Noticing that when include ,ifstream can be introducd like
ifstream source(fileName);

After checking the file in nodepad,i can find no class ifstream.
Then includes other head files,I check them one by one recursively
but find nothing.

From MSDN,A type basic_ifstream specialized on char template parameters.
typedef basic_ifstream > ifstream;
and the required head file is

Then i was confused.

Thanks for your reply.