这篇文章讨论如何处理所有的控制台消息。
第一步,首先要安装一个事件钩子,也就是说要建立一个回调函数。调用Win32 API,原型如下:BOOL
SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, // 回调函数BOOL Add //
表示.....
public DateTime? StatusDateTime =
null;脑子便也出现个问号,这是什么意思呢?网上搜下,总结如下:1.
可空类型修饰符(?):引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空。例如:string str=null; 是正确的,int
i=null...
分类:
其他好文 时间:
2014-04-30 20:16:58
阅读次数:
474
1.文件的基本操作1.1文件的打开或创建文件的打开或创建可以使用内置函数file(别名open)。函数声明如下:file(name[,mode[,buffering]])->fileobject或open(name[,mode[,buffering]])->fileobject其中,name表示被打...
分类:
编程语言 时间:
2014-04-30 19:48:22
阅读次数:
517
The Taysan Project is located on the south
western segment of the island of Luzon in the well developed industrial province
of Batangas, 100km south o...
分类:
其他好文 时间:
2014-04-30 19:45:37
阅读次数:
438
转自:http://blog.csdn.net/weiyuweizhi/article/details/4326174在命令行下启动windump.exe参数列表:-a
将网络地址解析为名字-B size 设置网络数据接收缓冲区大小-c count 只抓取count数目个包-D 显示当前系统中所有可...
Erlang/OTP 17 [erts-6.0] [source] [smp:2:2]
[async-threads:10] [kernel-poll:false]Eshell V6.0 (abort with ^G)1>
>.>2> >.>说明了一个segment默认是8位,高于8位的部分被截断同...
分类:
其他好文 时间:
2014-04-30 19:14:25
阅读次数:
534
首先,把mysql目录下的include放到项目目录下,然后把libmysql.lib和libmysql.dll放到debug目录下。#include之前一定要加上#include否则会产生编译错误。#include
"stdafx.h"#include #include "include\mysq...
分类:
数据库 时间:
2014-04-30 18:37:44
阅读次数:
413
public void DownloadFile(string fileId) { //Stream
fileStream = null; try { int fileID = Conve...
分类:
其他好文 时间:
2014-04-30 18:11:52
阅读次数:
443
先贴代码public class ListDataRequest extends
JsonRequest> {public ListDataRequest(int method, String url,Map contentBody,
Listener> listener, ErrorListene...
分类:
编程语言 时间:
2014-04-30 17:32:30
阅读次数:
740
第一种方法:有点卡先去下载对应的开发环境,安装到本地,例如php。从Pakage
Control中安装sublimelinter和sublimelinter-*,*为所用的语言,例如sublimelinter-php,不需要做其他配置,直接即可使用。这下各种方便,可以丢弃ide了。第二种方法:在编译...
分类:
其他好文 时间:
2014-04-30 17:20:19
阅读次数:
1118