简易聊天机器人O(∩_∩)O哈哈哈~

使用说明:随便输入点什么,复制到Dev-c++上即可使用。(正在完善请多谅解︿( ̄︶ ̄)︿)

#include<iostream>
#include<cstdio>

using namespace std;
char c[1001];
int main()
{
	cout<<"I am a robot,your good friend!"<<endl;
	cout<<"If you have something disturbed,please tell me!QwQ"<<endl;
	if(gets(c))
	{
		cout<<"hi,what can I do for you?"<<endl;
	}
	if(gets(c))
	{
		cout<<"Do not worry,I will try my best to help you!"<<endl;
	}
	return 0;
}

  

  (*^__^*) 嘻嘻……

猜你喜欢

转载自www.cnblogs.com/xrj1229/p/9230798.html