fread problem
#7

no need to post 4 times in a row..


Код:
new File: file, data[256];
file = fopen("put_filename_here", io_read);

while (fread(file,data))
{
  // funky bit goes here
}
fclose(file);
edit: also make sure the file exists
Reply


Messages In This Thread
fread problem - by Zaumao - 10.02.2009, 22:55
Re: fread problem - by yom - 10.02.2009, 23:01
Re: fread problem - by Zaumao - 10.02.2009, 23:02
Re: fread problem - by Zaumao - 11.02.2009, 16:29
Re: fread problem - by Zaumao - 11.02.2009, 18:53
Re: fread problem - by Zaumao - 11.02.2009, 19:17
Re: fread problem - by [RP]Rav - 11.02.2009, 19:19
Re: fread problem - by Zaumao - 11.02.2009, 22:35
Re: fread problem - by Zaumao - 12.02.2009, 02:18
Re: fread problem - by [RP]Rav - 12.02.2009, 06:19

Forum Jump:


Users browsing this thread: 5 Guest(s)