Open .bin file

hi can anyone help me how to open a .bin file using fopen in C++...
It should be the same as opening any other file type. You just pass the name and path of the file with whatever extension that file is.
Hi,

when I am trying to open .bin file and print the values it is giving
hexa values
File *fp;
unsigned int data;
fp.fopen("argv[4]",r)
fread(data,4,1,fp);
Topic archived. No new replies allowed.