On Thu, Nov 6, 2008 at 7:15 AM, crystalcat_75 <[EMAIL PROTECTED]> wrote:

> I have written a program to create a file.The file always get created
> in Bin folder.How to create a file in other folders of desired
> location.
>  Please reply soon.

Where's your code? Just provide the full path to the directory you
want to open the file in.

fopen("C:\Users\bmccoy\Music\myfile.txt", "w");

fopen("/export/home/bmccoy/Music/myfile.txt", "w");

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to