会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leochan007
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2023年10月12日
golang map json 结构体
摘要: 要将JSON转换为Go结构体,您可以使用json.Unmarshal()函数。首先,您需要定义一个与JSON数据结构匹配的Go结构体,然后使用json.Unmarshal()将JSON数据解码为该结构体。以下是一个示例:假设有如下JSON数据: { "name": "John Doe", "age"
阅读全文
posted @ 2023-10-12 18:01 leochan007
阅读(238)
评论(0)
推荐(0)
2023年8月3日
tcp助手
摘要: http://www.aslion.com/aslion2/download/NetAssist.rar http://www.aslion.com/aslion2/electrondocuments/tcp_debug_tools.html
阅读全文
posted @ 2023-08-03 12:26 leochan007
阅读(53)
评论(0)
推荐(0)
2023年5月24日
线程生产者与消费者
摘要: // testmutex.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include "windows.h" HANDLE m_hMutex; #include<list> using namespace std; lis
阅读全文
posted @ 2023-05-24 15:34 leochan007
阅读(31)
评论(0)
推荐(0)
2023年4月9日
html_table获取当前数据
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <table border="1px"> <tr id="filed"> <td id="id">ID
阅读全文
posted @ 2023-04-09 15:48 leochan007
阅读(52)
评论(0)
推荐(0)
2023年3月16日
string_Trim
摘要: std::string& trim(std::string& s){ if (s.empty()) { return s; } s.erase(0, s.find_first_not_of(" ")); s.erase(s.find_last_not_of(" ") + 1); return s;}
阅读全文
posted @ 2023-03-16 15:14 leochan007
阅读(40)
评论(0)
推荐(0)
2023年2月15日
向量点积(Dot Product),向量叉积(Cross Product)
摘要: 向量点积(Dot Product),向量叉积(Cross Product) 参考的是《游戏和图形学的3D数学入门教程》,非常不错的书,推荐阅读,老外很喜欢把一个东西解释的很详细。 1.向量点积(Dot Product) 向量点积的结果有什么意义?事实上,向量的点积结果跟两个向量之间的角度有关。 2.
阅读全文
posted @ 2023-02-15 16:05 leochan007
阅读(463)
评论(0)
推荐(0)
2023年2月14日
layui级联操作
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="/common/lib/layui-v2.5.5/css/layui.css" media="all"> <script src="
阅读全文
posted @ 2023-02-14 20:53 leochan007
阅读(69)
评论(0)
推荐(0)
2023年2月9日
终止进程命令
摘要: wmic process where name="qq.exe" call terminate
阅读全文
posted @ 2023-02-09 16:16 leochan007
阅读(72)
评论(0)
推荐(0)
2023年2月8日
泛型stringToNumber
摘要: C++中将string类型转换为double的方法:#include <iostream>#include <sstream> //使用stringstream需要引入这个头文件using namespace std;//模板函数:将string类型变量转换为常用的数值类型(此方法具有普遍适用性)t
阅读全文
posted @ 2023-02-08 14:51 leochan007
阅读(85)
评论(0)
推荐(0)
2022年12月3日
日志类
摘要: //Log.h #ifndef LOG_HEAD_DEF #define LOG_HEAD_DEF #pragma once #include "stdio.h" #include <stdarg.h> ////用变参函数所必须的 #include <time.h> #include <direct
阅读全文
posted @ 2022-12-03 21:19 leochan007
阅读(73)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告