Search Results

Search: Posts Made By: rajsekhar28
Forum: Programming 10-14-2011
15,070
Posted By MacMonster
You tried to copy the data to the address of the...
You tried to copy the data to the address of the pointer (&) which is not correct.

The code should be:


memcpy(finalptr + finaloffset, out, have);
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy