/Desktop/fileLock/lock/src/lock.cpp:77: error: no matching function
for call to ‘std::basic_ifstream<char, std::char_traits<char>
>::basic_ifstream(FILE*&)’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/fstream:442:
note: candidates are: std::basic_ifstream<_CharT,
_Traits>::basic_ifstream(const char*, std::_Ios_Openmode) [with _CharT =
char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/fstream:428:
note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with
_CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/iosfwd:89:
note: std::basic_ifstream<char, std::char_traits<char>
>::basic_ifstream(const std::basic_ifstream<char,
std::char_traits<char> >&)
*** Exited with status: 2 ***
Bookmarks