在Turbo C For windows 上编译只要下面代码就行了\
#include <iostream.h>
#include <string.h>
int main()
{
char c1[10],c2[10];
cin>>c1>>c2;
char s1[]="xiaoming",s2[]="xiaohong";
if(strcmp(c1,s1)==0 && strcmp(c2,s2)==0)
cout<<"天造一双,地造一对!"<<endl;
else
cout<<"无缘之人,来生缘吧"<<endl;
return 0;
}