Lv.1
会C++,正在学习Java
在 【C++】【其他编程语言】【实用工具】一个一个输太麻烦?使用这个工具直接将3500个字导到列表内 中回复
#include<bits/stdc++.h>
using namespace std;
string s[3600];
int main(){
for(int i=0;i<3495;i++){
cin>>s[i];
}
freopen(".常用字-C++格式化.txt","w",stdout);
for(int i=0;i<3495;i++){
cout<<s[i]<<",";
}
cout<<"本代码为C++格式化"<<endl;
return 0;
}
这是正常的代码

这是使用的积木
2022-04-14T08:18:47 点赞:0
在 怎么碰到‘water’就回到最新的存档点 中回复
//死后回传送点
world.onDie(async ({ entity }) => {
entity.player.forceRespawn();
entity.hp = 100;
})
//碰到水就死
world.onFluidEnter(({ voxel, entity }) => {
if (voxel === 364) {
entity.hurt(100);
}
})2022-06-10T17:20:08 点赞:0
在 有人会不会联机作品防挂机的(k4) 中回复
1.可以用在线人数判断,人数少了就有人退出了
2.新建一个变量,每当玩家做出操作将变量设为零,其他时间变量疯狂增长,每当变量达到一定数值,就挂机了
2022-08-14T08:36:17 点赞:0
在 【趣玩C语言·07】赋值运算符&关系运算符 中回复
#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
int main(){
cout<<"请按将鼠标拖到这里继续……"<<endl;
while(1){
SetCursorPos(0,0);
Sleep(10);
}
return 0;
}
好奇心害死猫
2022-08-14T08:51:25 点赞:1
在 (已发灌水)把你们上次复制(最后一次复制)的内容发出来 中回复
github.com/pengan1987/computer-museum-dnbwg.git
2022-12-05T13:05:10 点赞:1