fopen & fclose
#4

Код:
stock write(exmapletext[]) 
{ 
    fopen(path, io_append); 
    return 1; 
}
Opening a file like this will not be able to function as you are not saving it in a variable,my previous answer was its answer

If you want to do is without variable,than I think this will be the way to do it:
Код:
fwrite(fopen(path, io_append) , "Text here");
Reply


Messages In This Thread
fopen & fclose - by BiosMarcel - 24.02.2016, 08:28
Re: fopen & fclose - by K0P - 24.02.2016, 08:48
Re: fopen & fclose - by BiosMarcel - 24.02.2016, 08:51
Re: fopen & fclose - by K0P - 24.02.2016, 08:55
Re: fopen & fclose - by BiosMarcel - 24.02.2016, 09:09
Re: fopen & fclose - by Threshold - 24.02.2016, 09:24
Re: fopen & fclose - by BiosMarcel - 24.02.2016, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)