上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页
摘要: @echo off echo add current path into environmet... set regpath=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment set evname=BAT_HOME set batpath=c:\bat reg add "%regpath... 阅读全文
posted @ 2018-06-26 14:38 路边的十元钱硬币 阅读(124) 评论(0) 推荐(0)
摘要: // 使用window api 获得系统时间 // 生成 #include "stdafx.h" #include #include #include int main() { SYSTEMTIME sys; GetLocalTime(&sys); printf("%4d/%02d/%02d %02d:... 阅读全文
posted @ 2018-06-20 16:40 路边的十元钱硬币 阅读(518) 评论(0) 推荐(0)
摘要: # 1 获得所有的文件名 所有的文件包括自己和LIST.TXT。 # 2 获得指定后缀名的所有文件名(*.lib) lib不区分大小写。 阅读全文
posted @ 2018-05-30 20:25 路边的十元钱硬币 阅读(165) 评论(0) 推荐(0)
摘要: #include "stdafx.h" #include #include #include void getFile(std::string path, std::vector &files ) { // 文件句柄 intptr_t hFile = 0; //long hFile = 0; // 64和32平台long的大小不... 阅读全文
posted @ 2018-05-30 16:12 路边的十元钱硬币 阅读(200) 评论(0) 推荐(0)
摘要: 下面的图表试图显示不同的TCP/IP和其他的协议在最初OSI模型中的位置: 参考: https://blog.csdn.net/THMAIL/article/details/71553374 阅读全文
posted @ 2018-05-28 13:53 路边的十元钱硬币 阅读(381) 评论(0) 推荐(0)
摘要: 1. 写txt 2. 读写txt 参考: http://www.runoob.com/csharp/csharp-file-io.html 阅读全文
posted @ 2018-05-21 22:44 路边的十元钱硬币 阅读(202) 评论(0) 推荐(0)
摘要: # 1 语法 try catch finally(相当于catch(...)) # 2 异常类型 常见的异常是继承自System.Exception System.ApplicationException 和 System.SystemException 类是派生于 System.Exception 阅读全文
posted @ 2018-05-21 22:23 路边的十元钱硬币 阅读(201) 评论(0) 推荐(0)
摘要: 等用的时候,可以现查。 参考: http://www.runoob.com/csharp/csharp-regular-expressions.html 阅读全文
posted @ 2018-05-21 22:02 路边的十元钱硬币 阅读(103) 评论(0) 推荐(0)
摘要: 基本和C++一致。 参考: http://www.runoob.com/csharp/csharp-preprocessor-directives.html 阅读全文
posted @ 2018-05-21 21:59 路边的十元钱硬币 阅读(182) 评论(0) 推荐(0)
摘要: 和C++不同的地方: 1. 访问内部成员的方式使用 点 2. using 的语法 参考: http://www.runoob.com/csharp/csharp-namespace.html 阅读全文
posted @ 2018-05-21 21:55 路边的十元钱硬币 阅读(99) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页