首页 > TAG信息列表 > Centre

2022.04.10-python学习之set

1 # File : learning_set.py 2 # Datetime : 2022/4/10 0010 13:49 3 # 集合 set 4 5 # 集合是一个无序的,不重复的数据组合, 6 # 它的主要作用如下: 7 # 1. 去重复,把一个列表变成集合,就自动去重了 8 # 2. 关系测试,测试两组数据之前的交集、差集、并集等关系 9 10 11 #

Qt5.8汽车仪表盘制作

制作一个可以由SpinBox控制转动的仪表盘,具体源代码如下:/**********************************************common.h******************************/ #ifndef COMMON_H #define COMMON_H #define Meter_Centre_X 242 //仪表盘中心坐标 #define Meter_Centre_Y 242 #define P_Cent

模拟行星转动

// world.cpp -- 太阳系模拟 // 2020/3/2 copyright by ywr #include <iostream> #include <Windows.h> using namespace std; #define FARS 21 #define MAX_PLANETS 9 // 各种物质标识 enum matter {vacuo, sun, planet}; // 行星的坐标 struct Coord { int x; int y; };

博客园

时间代码: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> </head> <body>