为啥输入次数和要轰炸的人后他却没有轰炸?
#include<stdio.h>#include<Windows.h>
int main()
{
int Message_Num;
printf("输入轰炸次数:\n");
scanf("%d",&Message_Num);
printf("输入要轰炸的人:\n");
char Name[100];
scanf("%s",&Name);
FindWindow(NULL,Name);
while(Message_Num>0)
{
SendMessage(FindWindow(NULL,"Name"),WM_PASTE,0,0);
SendMessage(FindWindow(NULL,"Name"),WM_KEYDOWN,VK_RETURN,0);
Message_Num--;
}
return 0;
}