Click to See Complete Forum and Search --> : question FILE I/O


mc0282
July 20th, 2003, 08:15 PM
hello, i search whole forum looking for thread the would answer my question, but no luck..

i want to know is if someone has example code or site the has example code how to create your own file like iso,zip,rar,etc..
but without compression just straight like
you could add file into the file and extract all the file, nothing fancy. i hope somone knows something

thank you for you time

NigelQ
July 21st, 2003, 01:39 AM
There is no simple way of doing as you describe.

You must create an index which tracks the documents, their size and so on. The files themselves then get appended to the index (or vice-versa). This is generally how the zipping mechanisms work.

You are asking for something like this without all the zipping and compression - this is unlikely to be practical for most people. If you need to manipulate the files, you might as well compress them as you do it - you can't use the files in their combined state anyway (they must be extracted first).

Hope this helps,

- Nigel