Can _Size of memcpy be 0?

As per subject... Just wondering if this is the source of my error...

Thanks,
Uni
LVL 3
Unimatrix_001Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Infinity08Connect With a Mentor Commented:
Meaning that there's no reason why it wouldn't accept it.


What's the error you get ?
0
 
Infinity08Commented:
It should.
0
 
Infinity08Commented:
You did mean the third parameter of memcpy, didn't you ?

        void *memcpy(void *dest, const void *src, size_t num);

(ie. num)
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Unimatrix_001Author Commented:
It should....?
0
 
Unimatrix_001Author Commented:
Yep.
0
 
Unimatrix_001Author Commented:
Okay thanks.... The error is about accessing invalid memory. I know where the error is now.

Thank you! :)
Uni
0
 
Infinity08Commented:
>> I know where the error is now.

nice :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.