You shouldn't assign character arrays to STRING pointers.

char* != STRING* !

Please read the manual section concerning strings.


Always learn from history, to be sure you make the same mistakes again...