Open .bin file

Mar 14, 2010 at 3:12am
hi can anyone help me how to open a .bin file using fopen in C++...
Mar 14, 2010 at 3:48am
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.
Mar 14, 2010 at 4:25am
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.