On Mon, Jul 02, 2001 at 10:48:06AM -0400, Pedro A Reche Gallardo wrote:
: Hi all, I have a file that it looks as it follows
: 
: 1 0.057         M
: 2 0.819         R
: 3 0.731         V
: 4 0.708         K
: 5 0.070         G
: 6 0.611         I
: 7 0.055         +
: 8 0.748         +
: 9 0.864         N
: 10 0.146        a
: 11 1.782        Q
: 12 2.707        +
: 13 0.893        .
: 14 1.252        L
: 15 0.659        W
: 16 2.150        +
: 17 1.137        W
: 18 0.976        G
: 19 2.022        .
: 20 0.147        .
: 21 0.124        .
: 
: The number on the second column goes from 0 to 4.3 and the files are
: really long (around 1000 lines).  What I would like to do, is to find
: out the file stretches  that contain at least 9 consecutive rows with a
: value in the second column lower that 1, and storing the character of
: the third column.
: Eventually I would like to be able to print out the data as follows
: 
: stretch128-137    ACDNTCSSD
: stretch190-205    SCTSEET+WTSpSSDS
: 
: 
: with the above example the program would only find the followng stretch
: 
: stretch1-10  MRVKGI++Na
: 
: Please help.

Hi Pedro,

Pedro, I think you might have forgotten to include the code you are
working on.  We would love to help you with your code, but it's not
here.  Send us what you have, and we'll help you with the problems.

Thanks,

  Casey West

-- 
The last good thing written in C++ was the Pachelbel Canon. 
 -- Jerry Olson

Reply via email to