上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: auto value = ui->lineEdit->text().toUtf8(); auto tm= ui->dateTimeEdit->dateTime().toString("yyyy-MM-dd hh:mm:ss").toUtf8(); 阅读全文
posted @ 2025-05-23 17:03 liliyou 阅读(5) 评论(0) 推荐(0)
摘要: auto now = time(0); auto dd= std::to_string(now); 阅读全文
posted @ 2025-05-23 16:32 liliyou 阅读(27) 评论(0) 推荐(0)
摘要: // 基于当前系统的当前日期/时间 // 该函数返回系统的当前日历时间,自 1970 年 1 月 1 日以来经过的秒数。如果系统没有时间,则返回 -1。 time_t now = time(0); cout << "1970 到目前经过秒数:" << now << endl; // 把 now 转换 阅读全文
posted @ 2025-05-23 15:52 liliyou 阅读(17) 评论(0) 推荐(0)
摘要: vector<int> vect = {1,2,3,4}; vect.push_back(5);// 在后面插入一个元素 vect.pop_back(); // 后面删除一个元素 vect.erase(vect.begin()+0);// 删除第一个元素 auto a = vect.at(1); / 阅读全文
posted @ 2025-05-23 15:49 liliyou 阅读(12) 评论(0) 推荐(0)
摘要: 语法 使用 & 声明,例如:int &ref = a; 使用 * 声明,例如:int *ptr = &a; 阅读全文
posted @ 2025-05-21 16:05 liliyou 阅读(6) 评论(0) 推荐(0)
摘要: using System; using System.IO.Ports; using System.Text; namespace ConsoleApplication2 { internal class Program { public static void Main(string[] args 阅读全文
posted @ 2025-05-16 18:52 liliyou 阅读(57) 评论(0) 推荐(0)
摘要: VACUUM; 阅读全文
posted @ 2025-05-09 10:48 liliyou 阅读(10) 评论(0) 推荐(0)
摘要: 如下代码放到http 模块下面 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent 阅读全文
posted @ 2025-04-30 16:06 liliyou 阅读(6) 评论(0) 推荐(0)
摘要: SELECT VALUE FROM ( VALUES ( '采购' ), ( '1' ), ( '22' ) ) AS input_values ( VALUE ) WHERE VALUE NOT IN ( SELECT cczz FROM cizu ); 阅读全文
posted @ 2025-04-29 08:55 liliyou 阅读(17) 评论(0) 推荐(0)
摘要: 报错1: Failed to initialize pool: 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“PKIX path building failed: sun.security.provider.certpath.SunCertPathBu 阅读全文
posted @ 2025-04-08 14:18 liliyou 阅读(118) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 18 下一页