memcpy

  1. M

    C++ Program doesn't terminate because of memcpy

    I'm currently testing memcpy function. I've checked documentation and everything applies when I don't dynamically allocate memory. But when I do, the program just doesn't terminate. Like it enters infinite loop. Here's the code, I can't get to the point of understanding why it happens because...
Top