wrote:
> Hello,
>
> I am a C/C++ newbie and I have a simple question concerning fast data
> writing to binary files. Are there any other faster methods than the
> standard write() method to write to binary data files?
Possibly, but standard C++ does not specify the speed of any operation.
Gnerally speaking the closer you get to the underlying operating system
the faster things will be. But none of that is standard C++, it's
platform specific.
I ask this
> question because I have to store a big amount of data coming from an
> PCI A/D card with a sampling frequency of 20 MB/s. Now I have to
> implement some additional computations and would need to speed up the
> data transfer. I am using a Windows XP computer and GCC 3.4.3 and
> Borland 5.5 respectively. Are there any special free libraries for
> this purpose?
Everything you ask depends upon the C++ you are using, and the operating
system you are using, maybe even the machine you are using. The answers
to your questions will depend very much on your particular circumstances.
If I were you I would try all the different methods you can find and
time them. That way you can answer your own questions. As to any special
purpose libraries, I doubt it, but the place to ask is a g++ group or a
Borland group.
>
> Thank you very much
>
> Daniel
>
john