上一页 1 ··· 182 183 184 185 186 187 188 189 190 ··· 259 下一页
摘要: 得用命令行: msiexec /package libsass-3.6.4-x86.msi 还有如果古老的游戏分辨率不到位.在属性兼容设置里面设置 最下面倒数第二个打上勾,叫不要缩放.然后就可以正常显示了. 阅读全文
posted @ 2020-10-21 17:55 zjh6 阅读(143) 评论(0) 推荐(0)
摘要: 将gets改为gets_s. 用.mangleof来取混淆名. GetProcAddress是窗口函数,不用dlopen,用Runtime.loadLibrary()解决段错误. 这个core.runtime.Runtime.loadLibrary.加载. 阅读全文
posted @ 2020-10-17 09:10 zjh6 阅读(49) 评论(0) 推荐(0)
摘要: 原文地址 学习编程应从算法开始,语言越简单越好.类c的语言,可以选择d.c++语法不简单. 为什么比c#/java好 虚拟机和运行时编译消耗性能,d更简单,容易,简洁性可比py. 为什么比c++好 其基于古老的c,元编程是偶然,c++不能放弃兼容性,开发速度慢,不容易调试.容易出现内存泄漏.(这是作 阅读全文
posted @ 2020-10-16 09:25 zjh6 阅读(36) 评论(0) 推荐(0)
摘要: fun! Bd(F,...) #不动函数,带参你操作了某个函数,然后不动 let s:i=line('.') let H=function(a:F) :call call(H,a:000) #e129没有函数名, :exe ':norm '.s:i.'G' endf #调用代码 fun! Qk3() 阅读全文
posted @ 2020-10-15 20:57 zjh6 阅读(17) 评论(0) 推荐(0)
摘要: alias system=executeShell; catch {}=>finally{} getenv->environment auto res = system(cmd); if (res[0]!= 0)//元组取第1个[0] 虽然如此,编译成功了.但生产的程序,并没有将其他程序编译成功. 阅读全文
posted @ 2020-10-14 09:48 zjh6 阅读(16) 评论(0) 推荐(0)
摘要: stringImportPath.来指明导入串的路径.串必须是编译时,且不允许包含路径. void foo() { //打印文件内容 writeln(import("foo.txt")); } 必须有编译时已知代码,才能用ctfe.不能用文件系统代码,因为他们是运行时的.他们的源代码必须存在,而不能 阅读全文
posted @ 2020-10-13 17:05 zjh6 阅读(19) 评论(0) 推荐(0)
摘要: 那就是win32++,嗯,不错,可以学习学习. 阅读全文
posted @ 2020-10-12 21:38 zjh6 阅读(17) 评论(0) 推荐(0)
摘要: //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Windows(__RPC__deref_out_opt IDispatch **ppid) = 0;//用windows要出错,我也不知道为什么 virtual /* [helpstrin 阅读全文
posted @ 2020-10-12 21:36 zjh6 阅读(17) 评论(0) 推荐(0)
摘要: struct Point { this(){} }//不能这样 struct Test { @disable this(); //使`Test t;`不行,你必须用构造器. this(int num) {//构造 } //静态`opCall`用`Test()`代替默认构造. static Test 阅读全文
posted @ 2020-10-11 23:28 zjh6 阅读(33) 评论(0) 推荐(0)
摘要: Stefan 在研究类型函数.d作者在研究加速模板元编程及所有权/借贷关系.Steven 勾勒出std2设计 亚当的: module typegame.solution; string easy(T...)() { string result;//分开显示名与看见名,用于细分 string last 阅读全文
posted @ 2020-10-11 17:13 zjh6 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 182 183 184 185 186 187 188 189 190 ··· 259 下一页