
- Forum
- Programming Talk
- C and C++
- How to open the file
How to open the file
This is a discussion on How to open the file within the C and C++ forums, part of the Programming Talk category; I want to open a file in binary mode in C programming language. What is the syntax for doing this? ...
-
How to open the file
I want to open a file in binary mode in C programming language. What is the syntax for doing this? Someone kindly give a example for me to understand the usage of this.
-
For opening a file in binary mode you can do as follows:
FILE *out = fopen("c:\\exforsys_file.doc","wb");
The above open the output file named as exforsys_file.doc in binary mode.
Try and let us know.

Reply With Quote





