摘要:
写了个小游戏,画面非常简陋,但基本的功能实现了 下面是学习WindowsAPI时参考的文章,虽说几乎没看懂。。。 [https://blog.csdn.net/farmwang/article/details/50603608] [https://blog.csdn.net/celte/articl 阅读全文
摘要:
1.编程练习(1)源代码及运行结果截图: 2.编程练习(2)源代码及运行结果截图: 这只是两个非常基础的C++程序,仅仅涉及到switch_case语句和while/do_while语句的运用。 但是,这两个程序也不能随便应付,因为第二个程序我改了五遍才发现其中的错误哭(语法没有错误),即while 阅读全文
摘要:
题目来源: C++语言程序设计 郑莉 董渊 何江舟 编著 清华大学出版社 软件:codeblocks 2 28.代码: include using namespace std; int main() { cout cv; if(cv=='Q')break; else { switch(cv) { c 阅读全文
摘要:
今天写了一些函数(有些是直接嫁接过来的),为了防止以后找不到,就发出来吧 include include include include include include include include include include include include include include i 阅读全文
摘要:
11 3 | 4 | 7 Collection : include include include include include using namespace std; void scanall(string n,int p) { string k,s,a; n+=".txt"; ifstrea 阅读全文
摘要:
实验内容 1 chip include using namespace std; class Cores { private: int m,n; public: Cores(int ,int ); int getm(){return m;} int getn(){return n;} int add 阅读全文
摘要:
实验内容1: User.h: User.cpp: Book.cpp: include "Book.h" Book::Book(string a,string b,float c):isbn(a),title(b),price(c){} void Book::print() { cout 阅读全文
摘要:
Complex类就不发出来了,相对于下面而言过于简单。 下面两个实验都做了扩展,并加入了一些自己的想法; //!!!!!!!!重新写了Graph类(代码跟在旧的下面(hash_type没有变动)图片没有更新因为太麻烦了,想看实际效果的,还是自己运行吧) 提供一个贪吃蛇小游戏博客链接,可以从里面学到很 阅读全文