From: Franco B. <fra...@we...> - 2002-03-17 05:00:16
|
Am Sonntag, 17. M=E4rz 2002 00:45 schrieb incrediblestorm: > char *tempstring=3D"test",*string2; > string2=3Dstrcat(tempstring, "one "); Yes, this is a bug! tempstring only points to 5 bytes of memory, then You try to write beyond= =20 it's bounds -> Memory Violation. char tempstring[50]=3D"test",*string2; string2=3Dstrcat(tempstring,"one"); should work. Ciao, Franco |