摘要: java生成的密钥: symmetricKey: GpMJAk7pis9tTHQfsoFVbLiy7oMQMgMlOb/OhVsUdLU= publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnBA2p6XqWhWXf5KDeZtwlPvyW 阅读全文
2025-03-03 10:31 禅元天道 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1 #ifndef LIVE_DATA_H 2 #define LIVE_DATA_H 3 4 #include <mutex> 5 #include <vector> 6 #include <functional> 7 8 template <typename T> 9 class LiveDat 阅读全文
2025-02-19 18:07 禅元天道 阅读(3) 评论(0) 推荐(0) 编辑
摘要: windows环境下的基础代码: 1 // server.cpp 2 #include <stdio.h> 3 #include <winsock.h> 4 #pragma comment(lib, "ws2_32.lib") 5 6 int main() 7 { 8 // 初始化DLL 9 WSA 阅读全文
2025-02-05 16:47 禅元天道 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1 using XTimePoint = std::chrono::time_point<std::chrono::system_clock>; 2 using XTimeSpan = std::chrono::seconds; 3 4 class XDataTime { 5 public: 6 X 阅读全文
2025-01-12 13:51 禅元天道 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 在配置文件中设置 USE_MATHJAX = YES . 行内公式, 嵌入在普通文字中. 使用 \f\f(\f)./@briefThedistancebetween\f(x_1,y_1)\fand\f(x_2,y_2)\f$ is * 阅读全文
2024-09-23 09:24 禅元天道 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1 TopoDS_Edge edge0 = BRepBuilderAPI_MakeEdge(gp_Pnt(0, 0, 0), gp_Pnt(10, 10, 10)); 2 Geometry::instance()->addShape(ShapeType::Curve, edge0); 3 4 gp_ 阅读全文
2024-09-12 14:15 禅元天道 阅读(76) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <numeric> #include <thread> #include <vector> template<typename Iterator, typename T> struct threadBlock { void operator( 阅读全文
2024-08-08 13:07 禅元天道 阅读(10) 评论(0) 推荐(0) 编辑
摘要: template <size_t row, size_t column, typename T = XDecimal> class XMatrix { public: XMatrix() : _row(row) , _column(column) { _vals = new T[row * colu 阅读全文
2024-07-17 13:14 禅元天道 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 头文件: class X_MATH_EXPORT XMatrix { public: XMatrix() = delete; XMatrix(size_t row, size_t column, XDecimal val); XMatrix(size_t row, size_t column, co 阅读全文
2024-07-17 11:43 禅元天道 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 主要通过给QTableWidget设置代理,即继承QItemDelegate类重写其中的方法实现,具体代码如下: 1 /** 2 * @file NonNegativeNumberItemDelegate.h 3 * @brief 非负整数校验代理 4 * @author 禅元天道 (chanyua 阅读全文
2024-01-24 16:32 禅元天道 阅读(931) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示