Re: confused abt file operations



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?

.



Relevant Pages

  • Re: String Format padding with zeros
    ... RSH wrote: ... > I have strings that are being converted that need to be eight characters ... The values are coming in as anywhere between 1 and 8 characters long. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • String Format padding with zeros
    ... I have strings that are being converted that need to be eight characters ... The values are coming in as anywhere between 1 and 8 characters long. ... Ron ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • find similar characters in strings?
    ... i have lots of strings with only 1 and ... as characters. ... greetings, jonas ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: CeDeleteRecord Anomalies
    ... That's interesting, yes I am using text and yes, I am sorting based on ... my strings are all ensured to be less than ... 28 characters. ... Prev by Date: ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Remove things from string
    ... > I have different strings that all need to have different characters ... Prev by Date: ...
    (alt.php)