Sunday, January 28, 2018

Digest for comp.lang.c++@googlegroups.com - 3 updates in 1 topic

JiiPee <no@notvalid.com>: Jan 28 12:11AM

On 27/01/2018 21:17, Robert Wessel wrote:
> Never write to a file a second time.
 
 
Oh ok, so you are suggesting not use one shared file but rather use
multiple files. Ok I ll think about this, sure did not think about this
Vir Campestris <vir.campestris@invalid.invalid>: Jan 28 09:10PM

On 28/01/2018 00:11, JiiPee wrote:
>> Never write to a file a second time.
 
> Oh ok, so you are suggesting not use one shared file but rather use
> multiple files. Ok I ll think about this, sure did not think about this
 
Alternatively, don't delete it, just delete the contents.
 
Andy
JiiPee <no@notvalid.com>: Jan 28 10:08PM

On 28/01/2018 21:10, Vir Campestris wrote:
>> multiple files. Ok I ll think about this, sure did not think about this
 
> Alternatively, don't delete it, just delete the contents.
 
> Andy
 
 
Its not possible to delete the content after reading before closing that
file, thats the problem. I googled about it. And if I close the file
then the other program can wrongly add something there before I empty
the file.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: