Is there a function like memset that can handle larger types for Value?

Memset Value only handles ints, but I am looking for something that can write something like DWORDS to memory.

thanks in advance.
std::fill in <algorithm>

http://cplusplus.com/reference/algorithm/fill/

1
2
3
4
DWORD buffer[100];

// fill buffer with 0xDEADBEEF
std::fill(buffer, buffer + 100, 0xDEADBEEF);
Thanks!
Topic archived. No new replies allowed.