On 8/8/07, idontlikethedrugss <[EMAIL PROTECTED]> wrote:
> hy..i wanna ask a question about fopen and fclose..for example,
>  i write
>  .
>  .
>  .
>  FILE *f;
>  f=fopen("document.txt","w");
>  .
>  .
>  .
>  fclose(f);
>  ........
>  but proggram is not working...when i specify like that
>  f=fopen("C:\document.txt","w");

You need to escape backslashes in string constants:
f=fopen("C:\\document.txt","w");

-- 
Tamas Marki

Reply via email to