阅读背景:

memcpy如何与void指针一起使用?

来源:互联网 

I am trying to memcpy from one ptr to another. I know the size that I want to copy. Both the destination and source pointers are void pointers. Is this valid? Does it actually copy the ELEMENT_SIZE (integer like 128) from source to the destination? I know this is not the most ideal thing to do. But I want to know if this works.I am trying to memcpy from one ptr to another.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: