#include <stdio.h>
int main()
{
char name[10];
printf("Who are you? \n");
fgets(name,10,stdin);
printf("Good to meet you, %s.\n",name);
if(name=='spyros')
{
printf("Then you are here %s\n",name)
}
return(0);
}
然后我有警告警告:字符常量对于它的类型来说太长了