摘要: 目前我不太知道如何在博客园中上传本地视频,所以实验一和实验二的视频并未上传 (1)实验一小球 #ifndef BALL_H #define BALL_H class Ball { public: Ball(int x0=0, int y0=0); // 在坐标(x,y)处构造一个小球(小球用字符O表 阅读全文
posted @ 2019-04-20 21:09 ttttcgcass 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 虽然这只是一个简单的小程序,但是我觉得要一下子,没有任何错误写出来也是需要细心的。 https://www.cnblogs.com/Ann-88/ https://www.cnblogs.com/Tiger-Hu22/ https://www.cnblogs.com/jyf13/ 阅读全文
posted @ 2019-03-30 20:24 ttttcgcass 阅读(140) 评论(1) 推荐(0) 编辑
摘要: (1)user类的用法 #include<iostream> #include<string> #include <conio.h> #include <algorithm> using namespace std; class User{ public: User(string name,stri 阅读全文
posted @ 2019-03-21 21:52 ttttcgcass 阅读(199) 评论(3) 推荐(0) 编辑
摘要: 2-28 2-29 (使用while) (使用do while) (使用for循环) 2-32 猜一个数字 (1)使用while (2)使用 do...while 2-34 (1)五种颜色取三个,10个的情况。 (2)有顺序的情况 ,60 总结:在第一次实验的过程中,我学会了如何去使用devc,已经 阅读全文
posted @ 2019-03-12 23:01 ttttcgcass 阅读(145) 评论(1) 推荐(0) 编辑