Line break - File I/O problem

From: EricT (teteigen_at_online.no)
Date: 02/26/05


Date: Sat, 26 Feb 2005 08:36:57 -0500

I'm trying to write a two-dimensional array to an ASCII file.
The problem is that FORTRAN automatically changes line for every 7th
record, instead of writing all the values of one row on one line.
How can I fix this?



Relevant Pages

  • Writing to files
    ... I've seen many modes for opening files then writing to them. ... I don't get an error message but it simply does not work(runtime ... My guess is that I'm trying to write to an ASCII file when the ... program is in binary mode but I can't be sure. ...
    (microsoft.public.vc.language)
  • Re: using XML to write output files
    ... It's not very difficult as far as the 'writing' of it goes, ... There are other ways to get data into XML too, depending on your app, you ... > When I write an output data file, I usually write it as an ascii file. ... > and StreamWriter classes. ...
    (microsoft.public.dotnet.languages.csharp)
  • How to distinguish between binary and ASCII file on file opening?
    ... I am writing an applicatioin that will need to distinguish between ... binary and ASCII file to be loaded from hard disk so that different ...
    (microsoft.public.vc.mfc)
  • Re: Writing to files
    ... I've seen many modes for opening files then writing to them. ... I don't get an error message but it simply does not work(runtime ... My guess is that I'm trying to write to an ASCII file when the ... program is in binary mode but I can't be sure. ...
    (microsoft.public.vc.language)