摘要: 在利用MFC应用编写图形学大作业时, 我遇到了两次关于 语法错误: 缺少“;”(在“*”的前面) 的错误 1. (1)错误行代码: CTipDlg* tipDlg = NULL; 其中CTipDlg 是我自己编写的一个对话框类。 (2)错误原因: 因为我在CTipDlg类中需要引用View类(即CM 阅读全文
posted @ 2020-07-03 14:21 阿傥 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 正文: 1 VHDL简介 VHDL的全称为VHSIC硬件描述语言(VHSIC Hardware Description Language),VHSIC: Very High Speed Integrated Circuit 1.1 历史 1980 – 美国国防部设立一个基金,在VHSIC项目之下开设 阅读全文
posted @ 2020-06-23 23:15 阿傥 阅读(3511) 评论(0) 推荐(0) 编辑
摘要: 1 素材网站 https://line-of-action.com/practice-tools/ 不移之火:https://www.byzhihuo.com 2 喜欢的画家 意大利画师mauro belfiore:https://cn.bing.com/search?q=mauro+belfior 阅读全文
posted @ 2020-06-08 14:29 阿傥 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 1.7 递归函数 练习 19 - 26 1 #include <iostream> 2 #include <cmath> // pow(double base, double exp) 3 #include <ctime> 4 using namespace std; 5 6 // 《数据结构,算法 阅读全文
posted @ 2020-06-07 18:28 阿傥 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 一般而言,python的相同信息只开辟一次空间且只存储一个,所有的变量名都指向它 故数值的深浅拷贝没有太大意义 1 列表、字典 1.1 直接赋值 对象的直接引用(起别名)。 1.2 浅拷贝 拷贝父对象,不会拷贝父对象的内部的子对象。 1.3 深拷贝 copy 模块的 deepcopy 方法,完全拷贝 阅读全文
posted @ 2020-06-06 13:54 阿傥 阅读(188) 评论(0) 推荐(0) 编辑
摘要: const修饰指针 1 const int * p 读作:p 指向不变量int int a = 2; const int * p = &a; // constant 必须初始化,否则报错 *p = 3; // 非法 int b = 3; p = &b; // 合法 2 int * const p 读 阅读全文
posted @ 2020-05-31 23:55 阿傥 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 范数 复制链接:http://zh.gluon.ai/chapter_appendix/math.html#%E7%BA%BF%E6%80%A7%E4%BB%A3%E6%95%B0 阅读全文
posted @ 2020-05-29 22:22 阿傥 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1 using System.Windows.Forms; // 添加库 2 3 namespace WindowsFormsApp1 4 { 5 class DBHelper 6 { 7 public static void getDebugpath() 8 { 9 // 获取Debug的路径 1 阅读全文
posted @ 2020-05-26 20:50 阿傥 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 1 语言篇 1.1 c++ http://www.cplusplus.com/ MFC:http://www.jizhuomi.com/software/257.html 1.2 python python官方文档:https://docs.python.org/zh-cn/3.7/tutorial 阅读全文
posted @ 2020-05-26 12:08 阿傥 阅读(255) 评论(0) 推荐(0) 编辑
摘要: C C++ 1 #include<iostream> 2 # include<exception> 3 using namespace std; 4 5 int abc(int a, int b, int c){ 6 if(a <= 0 || b <= 0 || c <= 0) 7 throw "a 阅读全文
posted @ 2020-05-26 09:57 阿傥 阅读(129) 评论(0) 推荐(0) 编辑