confused abt file operations



Hi All,
If I open a binary file in text mode and use text functions to
read it then will I be reading numbers as characters or actual
values?
What if I open a text file and read it using binary read functions.
-Siliconwafer

.



Relevant Pages

  • Re: Fast reading and unpacking of binary data (struct module)
    ... I have a Python newbie question about reading data from a binary file. ... I have an huge binary file from an external program. ...
    (comp.lang.python)
  • Re: Binary v. Text, why is it faster?
    ... reading textual data. ... They are the same because often a text file IS a binary file. ... file is nothing more than a binary file with only ASCII characters. ...
    (comp.programming)
  • Re: memory allocation question
    ... Ok, reading on... ... | out by functions from the C standard. ... | also says that a binary file may have an arbitrary number of NULs ... Thanks Jerry. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: storing dataset
    ... The CSV file format is convenient and widely ... and then back again when reading them is a big pain. ... binary file, you cannot be sure even that the same source code ... compiled with a different compiler or even a different version of the ...
    (microsoft.public.dotnet.framework)
  • Re: Reading a Binary File....
    ... I have a problem in reading a binary file. ... int acountnum; ... char phone; ...
    (comp.lang.c)