strange problem with INI
#4

If a line needs to be updated then generally the whole file needs to be rewritten from scratch. Unless you know exactly where you want to write as in that case you can use fseek() to move the cursor the right location. However this implies that the length of each line is the same and that's not the case here.

Also don't assume that any file is an INI. The INI syntax is very specific.
Reply


Messages In This Thread
strange problem with INI - by Maximun - 23.06.2016, 12:09
Re: strange problem with INI - by Stinged - 23.06.2016, 12:12
Re: strange problem with INI - by Maximun - 23.06.2016, 12:23
Re: strange problem with INI - by Vince - 23.06.2016, 13:10
Re: strange problem with INI - by Maximun - 23.06.2016, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)