帮忙看看这句switch语句错误?
#include<stdio.h>#include<string.h>#include<conio.h>#include<stdlib.h>#include<windows.h>main(){ char *q1="what is your name"; char *a1="I am lion"; char *q2="how are you"; char *a2="I am fine,thx!"; char *q3="what is the weather like today"; char *a3="the day was very hot today!"; char *p="Sorry! I can't undersdant what your mean!"; char w1[100]; while(true) { puts("Lion: what can I do for you?"); printf("You: "); gets(w1); switch(w1) { case (strcmp(q1,w1)==0):Sleep(800); printf("lion:%s\n",a3); system("e:\\a1.vbs"); break; case (strcmp(q2,w1)==0):Sleep(800); printf("lion:%s\n",a2); system("e:\\a1.vbs"); break; case (strcmp(q3,w1)==0):Sleep(800); printf("lion:%s\n",a3); system("e:\\a3.vbs"); break; default: Sleep(800); printf("\nlion:%s",p); system("e:\\p.vbs");break; } }}