Hej, potrezbuje otworzyć plik binarny za pomocą c++ ale wyskakuje mi błąd
file.open(filename, std::fstream::binary);
// próbowałam też
//file.open(filename, ios::binary);
//file.open(filename, ios_base::binary);
//błąd:
//no mathing function to call: void std::basic_ofstream<_CharT, _Traits>::open(const //char*, std::ios_base::openmode)