Re: confused abt file operations
- From: "siliconwafer" <spdandavate@xxxxxxxxx>
- Date: 30 Aug 2005 20:48:36 -0700
Hi Again,
So what about numbers wirtten to /read from the text/binary files?
I read that in text files numbers are stored as characters or strings
rather than their actual values.So a number 1234 will occoupy5 bytes(4
+ ' \0 ' ).In binary files,numbers are stored as actual values i.e 1234
is stored as 2 bytes integer and so on..
was the book correct?
.
- Follow-Ups:
- Re: confused abt file operations
- From: SM Ryan
- Re: confused abt file operations
- From: Keith Thompson
- Re: confused abt file operations
- From: Peter Nilsson
- Re: confused abt file operations
- References:
- confused abt file operations
- From: siliconwafer
- Re: confused abt file operations
- From: Gordon Burditt
- Re: confused abt file operations
- From: Peter "Shaggy" Haywood
- confused abt file operations
- Prev by Date: Re: Why C/C++ errors are SO obscure/devious??
- Next by Date: Re: low-level question
- Previous by thread: Re: confused abt file operations
- Next by thread: Re: confused abt file operations
- Index(es):
Relevant Pages
|