-
September 9th, 2004, 11:13 PM
#1
Junior Member
fopen() problem!
Hi there,
I have been trying to develop a program in the C language, although have struck a problem. I have written the following line of code, although it does not work in the way in which I had intended.
f=fopen ("C:\Binary","w");
I wanted this code to create a file on the C drive of my computer and open it, ready to write to. Although the code creates the file in which every directory I execute the file from, not at the file path which I have specified.
Any help or thoughts will be much appreciated.
Thank You, in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|