Load a file from another file
#4

Код:
new File:Handler=fopen("Maps.l",io_read);
    while(fread(Handler,string))
    {
        new str[256];
        format(str,256,"%s.m",string);
What is the right format of file? *.l or *.m ??

and why you need new string[256]; 2x ?? use string[64]; and only once, Im sure you dont have any file name longer than 64 symbols
Reply


Messages In This Thread
Load a file from another file - by ppanlie - 30.08.2010, 04:42
Re: Load a file from another file - by Backwardsman97 - 30.08.2010, 04:56
Re: Load a file from another file - by ppanlie - 30.08.2010, 05:08
Re: Load a file from another file - by Voldemort - 30.08.2010, 07:08
Re: Load a file from another file - by Simon - 30.08.2010, 07:24

Forum Jump:


Users browsing this thread: 1 Guest(s)