Try this ... you need both lines 
// declare p as a pointer 
char *p = "p."; // works ok
char *p2 = "p.   // . becomes ->
once p is known to be a pointer, . always becomes ->
this is usually what's wanted, except inside quotes or comments
VA 1428 VS2003
Rob