I have this pice of code (I know, I should use c++ string instead of c
string):
char *p = new char[4];
strcpy(p, "Hola");
delete [] p;
With gcc I compile it and run it with no errors, but with MS Visual C++
6.0 I get an error that says:
"DAMAGE: after Normal block(#238) at [an address].
Someone can tell me wath´s wrong?