Processing math: 100%

随笔分类 -  课程实验

摘要:D G=[0,inf,inf,1.2,9.2,inf,0.5; inf,0,inf,5,inf,3.1,2 inf,inf,0,inf,inf,4,1.5 1.2,5,inf,0,6.7,inf,inf 9.2,inf,inf,6.7,0,15.6,inf inf,3.1,4,inf,15.6,0, 阅读全文
posted @ 2020-11-24 13:30 幻想Elapse 阅读(108) 评论(0) 推荐(0) 编辑
摘要:目录: 实验一: 邻接表: 1 #include <iostream> 2 using namespace std; 3 const int MAX = 30; 4 typedef int SubType; 5 typedef bool WeightType; 6 struct Node//结点 7 阅读全文
posted @ 2020-07-12 16:45 幻想Elapse 阅读(210) 评论(0) 推荐(0) 编辑
摘要:百度云资源: https://m.sosuopan.com/page/8 英文书: https://b-ok.as/ jiumo: https://www.jiumodiary.com/ GatesNotes https://www.gatesnotes.com/ 阅读全文
posted @ 2020-06-24 10:19 幻想Elapse 阅读(222) 评论(0) 推荐(0) 编辑
摘要:输出目录:(SolutionDir)/bin/(Platform)/(Configuration)(SolutionDir)/temp/(Platform)/(Configuration)/$(ProjectName) 效果:分别放到了一个文件夹中 阅读全文
posted @ 2020-06-23 18:48 幻想Elapse 阅读(419) 评论(0) 推荐(0) 编辑
摘要:创建一个文件夹,路径不能有中文 文件->打开文件夹->打开刚刚的新建的文件夹 新建一个cpp文件 测试代码 #include <iostream> using namespace std; int main() { for(int i=0;i<10;++i) { cout << i<<endl; } 阅读全文
posted @ 2020-06-19 12:36 幻想Elapse 阅读(212) 评论(0) 推荐(0) 编辑
摘要:1.Linux下创建进程 1 #include <stdio.h> 2 3 #include <unistd.h> 4 5 int main() 6 7 { 8 9 pid_t pid; 10 11 /* fork a child process */ 12 13 pid = fork(); 14 阅读全文
posted @ 2020-06-10 19:15 幻想Elapse 阅读(325) 评论(0) 推荐(0) 编辑
摘要:头文件 1 #pragma once 2 #ifndef ZMR_H 3 #define ZMR_H 4 #include <iostream> 5 #include <fstream> 6 using namespace std; 7 const int MAX = 100; 8 enum zon 阅读全文
posted @ 2020-05-31 11:12 幻想Elapse 阅读(149) 评论(0) 推荐(0) 编辑
摘要:1 DATA SEGMENT 2 BUF DB 0,0,0,0,0,0,0,0,0 3 BUFSIZE = BUF14FLAGDB0;5FINSERTDB06CRDB0AH,0DH,' 7 DATA ENDS 8 STACK SEGMENT 9 阅读全文
posted @ 2020-05-30 11:43 幻想Elapse 阅读(575) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 bool is_leap(int year)//判断闰年 3 { 4 if (year % 100 == 0) 5 { 6 if (year % 400 == 0) 7 return true; 8 else 9 return false; 10 } 阅读全文
posted @ 2020-05-30 11:38 幻想Elapse 阅读(136) 评论(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 阅读(328) 评论(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 阅读(95) 评论(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 阅读(197) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示