s2kings2's blog

By s2kings2, 9 years ago, In English

Hi, all friend! When I use: void * memset ( void * ptr, int value, size_t num ); function in C++, I try to use set all value of my integer array, But why I only set it whith value 0 or -1 otherwise I won't be able to set any other value? Friends Please help me about this case? Thank you very much!

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it