codice:
char* ULTIMO = strchr(STRINGA, 0);
if (ULTIMO[-1] != '\\')
{
	ULTIMO[0] = '\\';
	ULTIMO[1] = 0;
}