Skip to content

Instantly share code, notes, and snippets.

@ikariwing
Created February 21, 2011 07:37
Show Gist options
  • Save ikariwing/836783 to your computer and use it in GitHub Desktop.
Save ikariwing/836783 to your computer and use it in GitHub Desktop.
c++ - Which one to use - memset() or value initialization to zero out a struct? - Stack Overflow
http://stackoverflow.com/questions/1998752/which-one-to-use-memset-or-value-initialization-to-zero-out-a-struct
c - When zeroing a struct such as sockaddr_in, sockaddr_in6 and addrinfo before use, which is correct: memset, an initializer or either? - Stack Overflow
http://stackoverflow.com/questions/894300/when-zeroing-a-struct-such-as-sockaddr-in-sockaddr-in6-and-addrinfo-before-use
c++ - initialize two dimensional array of pointer elements using memset - Stack Overflow
http://stackoverflow.com/questions/397153/initialize-two-dimensional-array-of-pointer-elements-using-memset
c - memset and SIGSEGV - Stack Overflow
http://stackoverflow.com/questions/560155/memset-and-sigsegv
memset on array of structures in C++ - Stack Overflow
http://stackoverflow.com/questions/2789735/memset-on-array-of-structures-in-c
constructor - What is the best way to initialize a bitfield struct in C++? - Stack Overflow
http://stackoverflow.com/questions/612374/what-is-the-best-way-to-initialize-a-bitfield-struct-in-c
C: Using memset function - Stack Overflow
http://stackoverflow.com/questions/1040070/c-using-memset-function
c - Faster way to zero memory than with memset? - Stack Overflow
http://stackoverflow.com/questions/3654905/faster-way-to-zero-memory-than-with-memset
c - clearing a small integer array: memset vs. for loop - Stack Overflow
http://stackoverflow.com/questions/1134103/clearing-a-small-integer-array-memset-vs-for-loop
c - Is there memset() that accepts integers larger than char? - Stack Overflow
http://stackoverflow.com/questions/108866/is-there-memset-that-accepts-integers-larger-than-char
c - Which is faster/preferred: memset or for loop to zero out an array of doubles ? - Stack Overflow
http://stackoverflow.com/questions/1373369/which-is-faster-preferred-memset-or-for-loop-to-zero-out-an-array-of-doubles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment