这个版本的坤++真能用
2023-07-24 11:38:33
发布于:江苏
166阅读
0回复
0点赞
//DEV坤++
#include<bits/stdc++.h>
#define kunuse using
#define kunspace namespace
#define KUNTD std
#define zhiyinint int
#define zhiyinfloat double
#define zhiyinchar char
#define zhiyinstring string
#define zhiyinbool bool
#define zhiyinvoid void
#define kuntruct struct
#define IKUN main
#define kunin cin
#define kunout cout
#define kundl endl
#define kunfor for
#define kunif if
#define kunelif else if
#define kunelse else
#define xiaoheizi0 false
#define xiaoheizi1 true
#define kunturn return
//这个必须要
kunuse kunspace KUNTD;
kuntruct colourbasketball{
zhiyinint blue;
zhiyinchar black;
zhiyinbool red;
zhiyinfloat pink;
zhiyinstring yellow;
};
zhiyinvoid throwbasketball(zhiyinint music){
music++;
kunout<<music;
}
zhiyinint IKUN(){
zhiyinint singdance;
kunin>>singdance;
zhiyinchar rap[singdance];
kunfor(zhiyinint basketball=0;basketball<singdance;basketball++){
kunin>>rap[basketball];
}
zhiyinbool twoyearhalf=xiaoheizi1;
kunout<<twoyearhalf<<kundl;
throwbasketball(singdance);
kunout<<" ";
kunfor(zhiyinint basketball=0;basketball<singdance;basketball++){
kunout<<rap[basketball]<<" ";
}
kunif(1==2){
kunout<<1;
}kunelif(1==1){
kunout<<0;
}kunelse{
kunout<<2;
}
kunturn 0;
}
全部评论 5
练习两天半 ,终于能掌握 Dev-坤++ 的精髓了 已经能熟练运用在案例中了
太赞了2023-07-25 来自 河北
2那就好~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-07-26 来自 江苏
1666
2023-10-30 来自 广东
0
🏀🏀🏀
2023-07-24 来自 江苏
1🏀🏀🏀
2024-04-01 来自 北京
0
无敌了孩子
2024-07-23 来自 上海
0缺少:class typename vector queue 栈 map 以及很多,赶紧更新下(顺便说一下是我提供的就行)。
2024-04-01 来自 北京
0nullptr
2024-04-01 来自 北京
0还有define
2024-04-01 来自 北京
0
ด้้้้้
2024-02-05 来自 浙江
0
有帮助,赞一个