On Wed, 05 Sep 2007 00:55:03 -0700,
wrote:
> On Sep 5, 12:52 pm, Lionel B <m...@privacy.net> wrote:
>
>> On Tue, 04 Sep 2007 20:55:14 -0700, deepakvs...@gmail.com wrote:
>>
>>> are binary files portable?
>>
>> I hope so - aren't all computer files binary?
>
> what about binary files created in c++?? are they portable?
I was being kind of facetious... but not quite. I assume you meant
"binary" as opposed to "text". But computer files really are just 0s and
1s - how one chooses to interpret the 0s and 1s depends on conventions
between the producer and consumer of the data in question. After all, how
portable are "text files"? There are many different conventions (perhaps
read "encodings") for text, of varying degrees of "portability" in the
computer world.
So to answer your question: a "binary" (i.e. *any*) file, whether it be
created in C++ or whatever, is only "portable" insofar as the person/
machine that is going to have to interpret the data it contains knows how
to do so.
--
Lionel B