Re: Writing a character to the beginning of the same file
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 11:41:46 GMT
In article <1114685495.313105.177700@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
mshyamrao@xxxxxxxxx says...
>
> Randy thanks very much. I thought someone would give me a better
> solution than this. I had worked on ur solution but it had taken lots
> of time to complete the process in the case of large files.
Well, if you had a file system that would let you do something like
reserve some spare space in the front of the actual start of the
file for this sort of thing (think small offset stored in the FAT
and special I/O calls to jack with it) it would be a lot easier.
In practice, it doesn't seem to be a big enough problem to justify
the hacks, so AFAIK, nobody every bothered to build a file system
optimized for single or small byte insertions at the beginning of a
file. *shrug*
> Any way thankx very much.
No problem.
--
Randy Howard (2reply remove FOOBAR)
"Making it hard to do stupid things often makes it hard
to do smart ones too." -- Andrew Koenig
.
- References:
- Writing a character to the beginning of the same file
- From: SAM
- Re: Writing a character to the beginning of the same file
- From: Scott McPhillips [MVP]
- Re: Writing a character to the beginning of the same file
- From: SAM
- Re: Writing a character to the beginning of the same file
- From: Randy Howard
- Re: Writing a character to the beginning of the same file
- From: SAM
- Writing a character to the beginning of the same file
- Prev by Date: Which language should I learn?
- Next by Date: Re: Which language should I learn?
- Previous by thread: Re: Writing a character to the beginning of the same file
- Next by thread: Re: Writing a character to the beginning of the same file
- Index(es):
Relevant Pages
|