Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~69 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for ShooperMAN

Sorry, my first post on this forum is a question, but I'm pretty confused about this. There's a few steps in my question, and I'm confused about several. So, here we go: [CODE]baseClass *base; derivedClass *derived; base = (derivedClass *) malloc(sizeof(derived)); memcpy(base, derived, sizeof(derived);[/CODE] Would the memcpy statement work? Would …

Member Avatar for ShooperMAN
0
69