That's correct. They only set the value in pos. 128 to 0, not the whole array. As it was stated before, you need brackets to set the array to 0 when declaring it.Originally Posted by spoon!
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: memset questionThreaded View
|
Click Here to Expand Forum to Full Width |