Re: [OT:] FTP clients
From: Active8 (reply2group_at_ndbbm.net)
Date: 03/02/05
- Next message: Carl D. Smith: "Re: Dell Sux. Read ON...."
- Previous message: Jim Thompson: "Re: OT: Canada Agrees to be Missile Target"
- In reply to: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Next in thread: Active8: "Re: [OT:] FTP clients"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 19:35:31 -0500
On 01 Mar 2005 21:52:04 GMT,
pbdelete@spamnuke.ludd.luthdelete.se.invalid wrote:
> Active8 <reply2group@ndbbm.net> wrote:
>>On 01 Mar 2005 11:04:16 GMT,
>>pbdelete@spamnuke.ludd.luthdelete.se.invalid wrote:
>
>>> Active8 <reply2group@ndbbm.net> wrote:
>>>>On 01 Mar 2005 05:49:30 GMT,
>>>>pbdelete@spamnuke.ludd.luthdelete.se.invalid wrote:
>>>
>>>>>>Opening output.fft and loading it into a std::vector<float> screws
>>>>>>up, but input1.dat doesn't. It does load the vector, too. It just
>>>>>>craps out when you return to the console, or in the [wx]winders app,
>>>>>>the message loop. I think it has something to do with the
>>>>>>vector<float> going out of scope. The fft file is 512 floats and I
>>>>>>converted the actual values to test.txt. They didn't look right
>>>>>>plotted either, but I can deal with that later.
>>>>>
>>>>>>I did it in VC++ which might not have it's STL sh*t together. I bet
>>>>>>it runs on a linux box. I might try that.
>>>>>
<snip>
>
>>Does the program in the first link compile on your Sun OS?
>
<snip compiler errors>
> ..............................................................................
>
> Proberbly easy to fix. But I haven't digged into it. Althought a Makefile
> would be really benefitial.
Hey thanks for trying. I forgot about the makefile - I could've put
it all in one file and done the dos to unix conversion. I see it's
choking on EOL conventions and that surely doesn't help. Many times
a single parse error (missing ";" or something) will generate other
errors.
It's fixed, though! AFAICT, I had my head up my ass when I tried to
let the file control the vector load with
while(!Feof(m_channel)) ...
There's a couple better ways. Some guy in c++ group told me that
iterators aren't guaranteed to be pointers and that that is
dangerous. Nothing I've read on that.
Now I can examine the hopelessly wrong looking FFT output. I hope
it's just because the ends of the sine wave are discontinuous.
-- Best Regards, Mike
- Next message: Carl D. Smith: "Re: Dell Sux. Read ON...."
- Previous message: Jim Thompson: "Re: OT: Canada Agrees to be Missile Target"
- In reply to: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Next in thread: Active8: "Re: [OT:] FTP clients"
- Messages sorted by: [ date ] [ thread ]