C++之沙漠神殿

查看代码
#include <iostream>
#include <string>
#include "minecraft.h"
using namespace std;
int main(int argc, char** argv) {
TxMinecraft tongxin;
bool b=tongxin.ConnectMinecraft("tk.makeblock.net.cn","a75f0b8eeab740f0a98b46fa28c15521");
if(!b){
cout<<"连接失败:"<<tongxin.Back_data;
return 1;
}
string chat;
cout<<"请输入一句话:";
cin>>chat;
cout<<"你要发送的内容是:"<<chat;
tongxin.sendChat(chat);
tongxin.CloseMinecraft();
return 0;
}
posted @   童心少年  阅读(34)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
点击右上角即可分享
微信分享提示