Name: Anonymous 2011-11-04 22:37
Any language that allows shit like this should be outlawed.
int Support::CopyData(void * DataTarget, void * DataSource, int SizeB, int SizeOfType)
{
for(int i = 0; i <= SizeB; i++)
{
try{
*(&DataTarget + (i * SizeOfType)) = *(&DataSource + (i * SizeOfType));
} catch(void * a)
{
throw a;
}
}
return SUCCESS;
}