printf("%s","please input your name:");
改称
printf("please input your name:");
最总要的是输入是应用字符数组,因为C并没有给字符指针开辟用于存串的内存.