BMP(全称Bitmap)是Window操作系统中的标准图像文件格式,可以分成两类:设备相关位图(DDB)和设备无关位图(DIB),使用非常广。它采用位映射存储格式,除了图像深度可选以外,不采用其他任何压缩,因此,BMP文件所占用的空间很大。BMP文件的图像深度可选lbit、4bit、8bit及24...
分类:
其他好文 时间:
2014-05-01 01:14:51
阅读次数:
589
MaximumTime Limit:3000MSMemory Limit:0KB64bit IO
Format:%lld & %lluSubmitStatusDescriptionLetx1,x2,...,xmbe real numbers
satisfying the following cond...
分类:
其他好文 时间:
2014-05-01 01:13:54
阅读次数:
415
js模拟滚动条,现在网上这种效果应该很多的,就自己写了一个试一下
分类:
其他好文 时间:
2014-05-01 01:10:46
阅读次数:
435
一、首先创建一个dll工程,取名为KeyboardHookDll,代码如下://
KeyboardHookDll.cpp : 定义 DLL 应用程序的导出函数。//#include "stdafx.h"#include using
namespace std;#define MYAPI extern...
分类:
其他好文 时间:
2014-05-01 01:00:28
阅读次数:
364
zf.py文件"""desc:读取配置文件config.ini压缩sourcepath路径到targetpath
并可以排除不需要压缩的文件excludefiletime:2014/4/30 12:03:42author:ggh"""import zipfile, os,
configpar...
分类:
编程语言 时间:
2014-05-01 00:59:26
阅读次数:
428
看一个小例子:1#include 23using namespace std;45class
A {6public:7A() { cout 23using namespace std;45class A {6public:7A() { cout
<< "A::A()" << endl; }8~A()...
分类:
编程语言 时间:
2014-05-01 00:55:19
阅读次数:
658
帮助函数封装一些代码,方便我们在应用程序中重用,MVC内建很多帮助函数,可以很方便的生成HTML标记。首先列出后面示例中用到的数据模型类定义:namespace
HelperMethods.Models { public partial class Person { public...
分类:
Web程序 时间:
2014-05-01 00:54:17
阅读次数:
531
创建方法//动态调用web服务 public static object
InvokeWebSer(string url,string @namespace, string classname, string methodname,
object[] args) { ...
分类:
Web程序 时间:
2014-05-01 00:53:13
阅读次数:
386
1.什么是SQL注入所谓SQL注入,就是通过把SQL命令插入到Web表单递交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令。通过递交参数构造巧妙的SQL语句,从而成功获取想要的数据。2.SQL注入的种类从具体而言,SQL注入可分为五大类,分别是:数字型注入、字符型注入、搜索...
分类:
数据库 时间:
2014-05-01 00:52:13
阅读次数:
487
我写的memchr:1 void *memchr(const void *buf, char ch,
unsigned count){2 unsigned int cnt = 0;3 while(*(buf++) != ch && cnt
count)5 ret...
分类:
其他好文 时间:
2014-05-01 00:50:10
阅读次数:
306