conditional expression of type 'class std::basic_fstream<char,struct std::char_traits<char> >' is illegal

Hi
i made a programe from a book i got this 1 error in this specific programe can any...