Sep 1, 2009 at 4:08am
writebin.cpp:23: error: no matching function for call to ‘std::basic_fstream<char, std::char_traits<char> >::open(std::string&, std::_Ios_Openmode)’ |
That means that there is no function that is available for the arguments that you have given. There are functions with the same name, however.
I think that the open( ) function requires a char array rather than a string. Try this instead:
fbin.open(filename.c_str( ), ios::binary | ios::in | ios::out);
Last edited on Sep 1, 2009 at 4:09am
Sep 1, 2009 at 4:37am
wow super dope man....
thanks