In article <ev**********@aioe.org>, barcaroller <ba*********@music.netwrote:
>Does C++ have an equivalent for C's memcpy? I have two memory blocks
(created using new, not malloc) and I need to copy the contents of one to
the other. The memory blocks are just that; they are not objects.
memcpy is part of the C++ Standard Library as well.
If can be accessed via <string.hor <cstringand
may or may not need std:: qualification (the standard
is clear on when it's required, but compilers are
across the board on applying it still).
--
Greg Comeau / 4.3.9 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==
http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?