Re: [OT:] FTP clients
From: Active8 (reply2group_at_ndbbm.net)
Date: 03/01/05
- Next message: Ruediger: "Re: What the heck is this?"
- Previous message: Kryten: "Re: +5 to -5 charge pump thingie"
- In reply to: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Next in thread: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Reply: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 08:02:10 -0500
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.
>>>
>>>>Anyone want some c++ classes that operate on s, y, and z params? It
>>>>stores them as complex numbers with accessor functions, operator
>>>
>>> Storeing numbers as binary data is something that unix os avoided quite early
>>> due that it easily cause problems with different formats. Ofcourse it's
>>> slightly slower.. ;)
>
>>You can still store binary data. It's built in to the c++ language.
>>Betcha sizeof(float) is 4.
>
> Format of numbers may change between compiler and architecture.
> There is a reason for htonl() etc..
Those are macros and they just change the byte ordering for
networking.
Just because unices use text files to configure everything doesn't
mean they *have* to - as if their machine would wake up one day and
decide to treat ints as 2 bytes. I suppose unix coders store images
and audio as text, too. You still have to know how to read the
format.
What's your point, anyway? It's irrelevant to anything I've said.
And BTW, those classes, when I say "stores them as complex numbers
with accessor functions," that clearly indicates that I'm speaking
about something internal to the class and doesn't even begin to
suggest whether I store them as text either in memory or on disk. In
fact, the original program read the s-params in from a text file.
Since I can't expect my ADC to give me ints in text... I don't know
why I'd want to slow things down storing a signal as text on a disk.
Does the program in the first link compile on your Sun OS?
-- Best Regards, Mike
- Next message: Ruediger: "Re: What the heck is this?"
- Previous message: Kryten: "Re: +5 to -5 charge pump thingie"
- In reply to: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Next in thread: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Reply: pbdelete_at_spamnuke.ludd.luthdelete.se.invalid: "Re: [OT:] FTP clients"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|