上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 一、软件过程模型 1.瀑布模型 阶段: 项目规划、系统分析、总体设计、详细设计、编码调试和集成测试、运行维护阶段。 为什么叫瀑布模型: 必须按照模型定义的顺序从阶段1到阶段6进行软件项目的开发。 特点: 阶段具有顺序性和依赖性,前一个阶段结束,后一个阶段才能开始。推迟程序的物理实现,保证前期工作扎实 阅读全文
posted @ 2020-06-10 19:05 幻想Elapse 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cmath> 3 using namespace std; 4 struct node 5 { 6 char c; 7 int n; 8 int level; 9 struct node* lc; 10 struct node* r 阅读全文
posted @ 2020-05-26 21:05 幻想Elapse 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 using namespace std; 3 void bfs(int i1, int j1, int i2, int j2); 4 void deep(int i1, int j1,int i2,int j2); 5 bool dfs(int i, i 阅读全文
posted @ 2020-05-25 16:57 幻想Elapse 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1 //加法器,若要变为减法器,只需改动相应的判断条件即可 2 #include <iostream> 3 using namespace std; 4 struct num//储存多位的整形数字 5 { 6 char input[102]; 7 char sign; 8 char data[101 阅读全文
posted @ 2020-05-25 00:08 幻想Elapse 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1. 即数组的数组 2. 多维数组定义 ap是数组指针 3. ap指向第二个数组 等同于: 4. 指针数组 5. 利用typedef定义数组指针类型 6. 用指针和typedef输出二维数组 7. 不使用typedef 阅读全文
posted @ 2020-05-24 12:18 幻想Elapse 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://blog.csdn.net/xiaofan086/article/details/8494828 debug命令:https://wenku.baidu.com/view/6431b9e5524de518964b7df6.html 准备好这三个文件,放在MASM文件夹里,这 阅读全文
posted @ 2020-05-20 18:04 幻想Elapse 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1. 2. 3. const对象的动态数组 4. 创建长度为0的动态数组是合法的,但不能对返回的指针进行解引用 该指针加减0,或减去本身,得0 5. delete [] array;//回收array所指向的数组 6. string类程序比C风格字符串执行得快 7. c_str() 8. 用数组类型 阅读全文
posted @ 2020-05-19 19:40 幻想Elapse 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1. 字符串字面值的类型是cosnt char类型的数组 2. strncat和strncpy 阅读全文
posted @ 2020-05-19 18:57 幻想Elapse 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1. 定义:string *pstring;//强调pstring是一个指针 而非:string* pstring;//容易被误解为string*是一种类型,当string* str1,str2时,str2可能被认为是一个指针,其实它是一个string对象 2. 将指针初始化为0,编译器可以检测出零 阅读全文
posted @ 2020-05-18 18:32 幻想Elapse 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1. 非const变量与要在运行阶段才知道其值的const变量(如const unsigned sz = get_size(); ,需要运行时调用函数 )才能作为数组维数 2. const a = 20; int b[a+1]; //合法,因为在编译时可以知道a+1的值为21 3. 函数体内,加{} 阅读全文
posted @ 2020-05-16 23:06 幻想Elapse 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页