cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Open .bin file
Open .bin file
Mar 14, 2010 at 3:12am UTC
gajji2020
(13)
hi can anyone help me how to open a .bin file using fopen in C++...
Mar 14, 2010 at 3:48am UTC
Dudester
(79)
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 UTC
gajji2020
(13)
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.