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


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

Re: Multiple files in one

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Daniel James <daniel@me.invalid>
Newsgroups comp.lang.c++.moderated, comp.lang.c++
Subject Re: Multiple files in one
Date Tue, 13 Sep 2011 10:53:31 -0700 (PDT)
Organization A noiseless patient Spider
Lines 26
Sender lang-cpp-request@vandevoorde.com
Approved musiphil@bawi.org
Message-ID <VA.00000494.004e93a9@me.invalid> (permalink)
References <a51089c8-6be0-4fa7-9237-39f686aa99a8@z18g2000yqb.googlegroups.com>
Content-Type text/plain; charset=iso-8859-1
X-Trace news.albasani.net 614KFpH01PkvgYXZTp8r6oSuQ+44r2YJ0W9UhSFvQ+lLsH+K7GjWb6mTav64oFTxkRU+D6K1GXv9AW4TtmphGw==
NNTP-Posting-Date Tue, 13 Sep 2011 17:53:32 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="X0gkIKU94HItErq6oKRyFhyLuOtdj2jShMWhVNQzGFWSHOgPIeQdgC/pJtnK77kb4nSC3qSOXAb3t6LYz8+MA82sCF3M8R/6rx/w4oTlCefokCqC7LMIpVg8/+42UuR+"; mail-complaints-to="abuse@albasani.net"
X-Mailer Perl5 Mail::Internet v2.05
X-Submission-Address lang-cpp-submit@vandevoorde.com
Cancel-Lock sha1:AeUxb95uTYpWBLRiTa6HW7Efmxs=
X-Original-Date Tue, 13 Sep 2011 13:07:56 +0100
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++.moderated:1997 comp.lang.c++:10081

Cross-posted to 2 groups.

Show key headers only | 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