yumoz

摘要: 1 控件介绍 1.1 Label import tkinter as tk # 使用Tkinter前需要先导入 window = tk.Tk() window.title('My Window') window.geometry('500x300') # 长宽 500x300 l = tk.Labe 阅读全文
posted @ 2020-07-11 22:14 yumoz 阅读(412) 评论(0) 推荐(0) 编辑
摘要: python的基础知识总结 使用到了numpy库,所以第一步需要 import numpy as np 1.创建矩阵 1.1一般矩阵的创建 创建一个二维的矩阵,并使用ndim、shape、size分别获取矩阵的维度,大小,元素个数。 # 1)创建矩阵 a1 = np.array([[1,2,3], 阅读全文
posted @ 2020-07-10 13:23 yumoz 阅读(965) 评论(0) 推荐(0) 编辑
摘要: 实验步骤: 1.arm-linux-gcc 交叉编译环境的安装。参考网站:https://jingyan.baidu.com/article/9c69d48f80282013c9024e20.html 2.配置nfs :百度经验。 3.看nfs是否启动 4.挂载nfs到arm板子 5.已编译好的程序 阅读全文
posted @ 2018-11-15 15:15 yumoz 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-11-12 19:24 yumoz 阅读(1430) 评论(0) 推荐(0) 编辑
摘要: 复制构函数和构造函数之间关系解释。 阅读全文
posted @ 2018-10-15 14:22 yumoz 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 1 #include<reg52.h> 2 typedef unsigned char uint8; 3 typedef unsigned int uint16; 4 5 sbit rw=P2^5; 6 sbit rs=P2^6; 7 sbit e=P2^7; 8 sbit led=P3^7; 9 阅读全文
posted @ 2018-10-14 11:20 yumoz 阅读(1859) 评论(0) 推荐(0) 编辑
摘要: 程序控制电脑关机,注意程序中有注释 阅读全文
posted @ 2018-10-12 22:33 yumoz 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 如何在Linux、Ubuntu系统中运行一个C++程序,请大家安装好g++等软件后调试 阅读全文
posted @ 2018-10-10 21:29 yumoz 阅读(293) 评论(0) 推荐(0) 编辑
摘要: C++制作的电子时钟程序,电脑运行框程序。 阅读全文
posted @ 2018-10-04 11:35 yumoz 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 利用C++学习内容,通过windows自带函数实现一个简易的时钟 #include<iostream> #include<windows.h> //延时与清屏头文件 using namespace std; class time { public: time(){year=0;month=0;day 阅读全文
posted @ 2018-10-04 11:22 yumoz 阅读(611) 评论(0) 推荐(0) 编辑