Re: System.ini Loading/Writing

From: Alex (ahdbn4@umr.edu)
Date: 06/12/02


>  if ((SystemFile = fopen("System/System.ini", "r")) != NULL) {
>    if (!strcmp(Data, "LevelForger           : "))
>      System->LevelForger = Number;

ok, you opened the file, but I dont see a fread() or a scanf()
or fgets() anything to actually read data from the file..

...am I missing something? :)

-alex

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT