上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 259 下一页
摘要: #include <常用> 构 A{ A(){ 打印("A"); } 空 啊(){ 打印("啊"); } }; 构 B{ B(){ 打印("B"); } 空 哦(){ 打印("哦"); } }; 构 C:公 A,公 B{ };//调用了,A,B的构造器了的. 空 主(){ C c; } 阅读全文
posted @ 2022-01-03 16:50 zjh6 阅读(13) 评论(0) 推荐(0)
摘要: 地址在此 阅读全文
posted @ 2022-01-03 14:37 zjh6 阅读(10) 评论(0) 推荐(0)
摘要: import std.stdio; import std.string; import std.algorithm : until, map; import std.conv : to; void main() { ubyte[8] b = [0x68, 0x65, 0x6C, 0x6C, 0x6F 阅读全文
posted @ 2022-01-03 09:47 zjh6 阅读(17) 评论(0) 推荐(0)
摘要: 向量<串>a{"start D:\\soft\\BaiduNetdisk\\baidunetdisk.exe","taskkill /f /im baidunetdisk.exe"}; 空 前动作(){令(a[0]);} 空 中动作(){休息(240,300);} 空 后动作(){令(a[1]);} 阅读全文
posted @ 2022-01-01 17:36 zjh6 阅读(31) 评论(0) 推荐(0)
摘要: import std.stdio; import std.string; void main() { ubyte[8] b1 = [0x68, 0x65, 0x6C, 0x6C, 0x6F, 0x0A, 0x00, 0x00]; ubyte[8] b2 = [0x68, 0x65, 0x6C, 0x 阅读全文
posted @ 2022-01-01 14:30 zjh6 阅读(16) 评论(0) 推荐(0)
摘要: 原文 C++版: struct R { }; // typedef void (* Fn) (R &); // 指针版本. typedef void (& Fn) (R &); //这里可以自定义函数类型,不错. template<Fn f> static void lyr (R &r) { // 阅读全文
posted @ 2022-01-01 14:19 zjh6 阅读(14) 评论(0) 推荐(0)
摘要: C++的逗号表达式,在...编程中,可能需要表达式,此时可借助逗号表达式,即下面编译不过. 元<整 F,整...I>整 最大项(){ 整 i=F;(i=最大(i,I),...);中 i; } 加上括号,构成逗号表达式,就编译过了. 元<整 F,整...I>整 最大项(){ 整 i=F;((i=最大( 阅读全文
posted @ 2021-12-31 18:17 zjh6 阅读(43) 评论(0) 推荐(0)
摘要: js清单: },{ "matches": ["https://*.zhongguowangshi.com/*","https://*.xinhuaxmt.com/*"], "js": ["cy.js","xhs.js"] } 同一个网站,居然两个域名. 阅读全文
posted @ 2021-12-31 14:50 zjh6 阅读(18) 评论(0) 推荐(0)
摘要: 点一个不行时,点两个: function ff(){ ysa(".content-more-btn .m-icon"); } setTimeout("ff()",1000); 阅读全文
posted @ 2021-12-31 14:36 zjh6 阅读(11) 评论(0) 推荐(0)
摘要: 原文 代码: struct Foo{ bool opCast(T : bool)()const{ assert(0); } ~this(){} } struct Bar{ const Foo foo; } void main(){ } 错误,opCast!(Foo)模板实例不匹配opCast(T : 阅读全文
posted @ 2021-12-29 10:14 zjh6 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 259 下一页