comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » writing ascii files (with really long lines...)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
writing ascii files (with really long lines...) [message #34303] Fri, 28 February 2003 17:09
CelticBlues is currently offline  CelticBlues
Messages: 10
Registered: February 2003
Junior Member
I have an image which I need to dump to an ascii file.... yes, it has to be
ascii. Before any suggestions concerning an alternate output format are
made, let me say that I am stuck with this format. But I wish it were other
wise. The images are 148 rows x 1092 columns and what I output will be
floating point values.

I know that the program that will read this text file, expects to be able to
read an entire row, and only one row, of the data, at a time. It uses MFCs
CStdioFile::ReadString to read one line at a time then does a sscanf on it
to get the data out of the string. I can't change how this code reads the
file in either.....

My question is ... can I do this and if so ...how? I have tried various
methods, but each seems to wrap the line.


If I write the values,
Ed
[Message index]
 
Read Message
Previous Topic: Re: labeling my polarplot
Next Topic: current directory

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:51:58 PDT 2025

Total time taken to generate the page: 0.00388 seconds