I need to read binary file. I find some docs and try to do that. And I have 2 questions
`
using namespace std;
int main(int argc, char** argv)
{
ifstream infile;
int x;
infile.open("E:\file.bin",ios::binary|ios::in);
infile.read(&x,sizeof(x)); // <- error is here
return 0;
}
`
[Error] no matching function for call to 'std::basic_ifstream::read(int*, long long unsigned int)'
Thanks at advance
It looks like you're new here. If you want to get involved, click one of these buttons!