摘要: 1,2,3,完了 点击查看代码 import std.digest.sha; import std.stdio; void main() { string appKey="1111111111111111111111111111111111111111111111111111"; appKey.sh 阅读全文
posted @ 2023-12-07 09:40 高斯山 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 测试环境:win10 64bit+dmd2.103.0+vs community 2015(cl.exe即vc链接)。一、创建dll的步骤创建dllmain.d 1 import core.sys.windows.windows; 2 import core.sys.windows.dll; 3 4 阅读全文
posted @ 2023-04-25 15:38 高斯山 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 近10年D语言在社区驱动下得到巨大发展,语言核心去芜存菁,广泛吸收;标准库不断扩充;语法越来越“对人类友好”;betterC和importC使得D语言与C语言越来越成为一家人,为底层开发在做坚实的奠基;以vibe-d和hunt frame work为首的众多跨平台网络库,使得开发web框架和应用几乎 阅读全文
posted @ 2023-04-18 20:12 高斯山 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 注意生成控制台程序,即-L/SUBSYSTEM:console 1 //This application demonstrates how to show a dialog in a console app. 2 3 #include 4 5 #include 6 7 class MyAp... 阅读全文
posted @ 2014-07-18 18:00 高斯山 阅读(500) 评论(0) 推荐(0) 编辑
摘要: -----From wxwidgets Docs 3.1Functions and Macros by CategoryDetailed DescriptionWrappers of CRT functionsFunctions and Macros by Category Detailed Des... 阅读全文
posted @ 2014-07-15 14:19 高斯山 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 该示例程序运行良好,除了退出时出现下图:原因:wxAuiManager需在主窗口析构时呼叫UnInit().文档:void wxAuiManager::UnInit()Uninitializes the framework and should be called before a managed ... 阅读全文
posted @ 2014-07-11 22:21 高斯山 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 1 // Open a database in memory. 2 Database db; 3 try 4 { 5 db = Database(":memory:"); 6 } 7 catch (SqliteException e) 8 { 9 // Error creating... 阅读全文
posted @ 2014-07-10 17:29 高斯山 阅读(265) 评论(0) 推荐(0) 编辑
摘要: D越来越有玩头了~~感觉一下代码的流畅: 1 module main; 2 3 /** 4 * Imports. 5 */ 6 import std.algorithm; 7 import std.array; 8 import std.datetime; 9 import ... 阅读全文
posted @ 2014-07-10 17:26 高斯山 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 笔记要点: 1。个人工具包samsTools 工具之一PromptMessage,方法: pause():Console 下暂停命令; showMessage:MS MessageBox/MessageBoxW 之D改写; char askForChar(string msg=" ")从控制台... 阅读全文
posted @ 2012-04-06 21:17 高斯山 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 程序运行截图:clockDlg.h//---------------------------------------------------------------------------//// Name: ClockDlg.h// Author: Jos de Jong// Created: 29-12-2007 11:42:36// Description: ClockDlg class declaration////----------------------------------------------------------------------... 阅读全文
posted @ 2012-04-05 16:53 高斯山 阅读(473) 评论(0) 推荐(0) 编辑