![](https://img-blog.csdnimg.cn/20190927151026427.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
C++
介绍C++
加油加油再加油x
这个作者很懒,什么都没留下…
展开
-
【C++】游戏之俄罗斯方块
#include <iostream> #include <cstdlib> #include <windows.h> #include <cstdio> #include <ctime> using namespace std; const int x_max=20,y_max=25,x_base=3,y_base=2; int sc...原创 2019-04-08 23:43:56 · 233 阅读 · 0 评论 -
【C++】游戏之扫雷游戏
介绍一款扫雷游戏原创 2019-04-08 23:42:21 · 270 阅读 · 0 评论 -
【C++】字符串处理
/--------首先包含头文件“string”----------/ 一、字符串赋值 “=” 字符串连接 “+” string s; string s1="12345",s2="abcde"; s=s1+s2; cout<<s; 输出 12345abcde 二、获取字符串的长度 s.size() string s=“12345abcde”; cout<<s...原创 2019-04-10 11:56:39 · 269 阅读 · 0 评论