Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10081

Re: Multiple files in one

From Daniel James <daniel@me.invalid>
Newsgroups comp.lang.c++.moderated, comp.lang.c++
Subject Re: Multiple files in one
Date 2011-09-13 10:53 -0700
Organization A noiseless patient Spider
Message-ID <VA.00000494.004e93a9@me.invalid> (permalink)
References <a51089c8-6be0-4fa7-9237-39f686aa99a8@z18g2000yqb.googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


In article
<a51089c8-6be0-4fa7-9237-39f686aa99a8@z18g2000yqb.googlegroups.com>,
Fryme wrote:
> I'm trying to create my own file format.

Others have already questioned the wisdom of such an approach.

Rather than inventing a whole new file format that is peculiar to your
application, why not use a standard container format (such as the
zipfile format) and write your image file and a descriptive text file
to that?

Not only will the resultant file be in a recognizably standard format,
but the process of reading and writing the file can be simplified,
relative to your home-grown approach, by the use of one of many freely
available libraries.

-- 
Regards,
  Daniel.
[Lest there be any confusion I am NOT the Boost maintainer of the same
name]


      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Multiple files in one fryme <oleg.fry@gmail.com> - 2011-09-12 11:44 -0700
  Re: Multiple files in one Alexander Bartolich <alexander.bartolich@gmx.at> - 2011-09-12 17:31 -0700
  Re: Multiple files in one Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-12 17:32 -0700
  Re: Multiple files in one red floyd <no.spam.here@its.invalid> - 2011-09-12 17:32 -0700
  Re: Multiple files in one Daniel Krügler <daniel.kruegler@googlemail.com> - 2011-09-12 17:32 -0700
  Re: Multiple files in one Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-12 17:34 -0700
  Re: Multiple files in one Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-09-13 10:51 -0700
  Re: Multiple files in one Daniel James <daniel@me.invalid> - 2011-09-13 10:53 -0700

csiph-web