CImage
imSrc,imDest;imSrc.Load(……);//读入原始图片imDest.Create(……)//创建新大小的图片imSrc.StretchBlt(imDest.GetDC(),……);imDest.ReleaseDC();imDest就是你制定尺寸的图片对象
分类:
其他好文 时间:
2014-05-09 11:32:39
阅读次数:
265
表值函数就是返回table 的函数使用它可以方便的进行查询的处理创建的代码如下:create
FUNCTION returunclassfirstlist(-- Add the parameters for the function
here)RETURNS TABLE ASRETURN (-- A...
分类:
数据库 时间:
2014-05-08 22:00:43
阅读次数:
454
下载SQLite3我们下载sqlite源码包,只需要其中的sqlite3.c、sqlite.h即可。最简单的一个创建表操作#include#include"sqlite3.h"intmain(intargc,char*argv[]){constchar*sql_create_table="creat...
分类:
数据库 时间:
2014-05-08 20:50:24
阅读次数:
543
---恢复内容开始---Example 1Creating and terminating
thread by usingpthread_create, pthread_exit(status)#include #include #include
using namespace std;#defin...
分类:
编程语言 时间:
2014-05-07 17:41:05
阅读次数:
335
设置MySQL数据表主键: 使用“primary
key”关键字创建主键数据列。被设置为主键列不允许出现重复的值,很多情况下与“auto_increment”递增数字相结合。如下SQL语句所示:Mysql>create
table books(bookid int(11) NOT NULL AUTO...
分类:
Web程序 时间:
2014-05-07 10:16:31
阅读次数:
649
添加WebPart的工具面板 ?ToolPaneView=2
直接加在Web部件页的URL后面; 仅在页面已签出后有效解决方案模版 /
_catalogs/solutions/Forms/AllItems.aspx创建新的内容 /_layouts/create.aspx 列表模板库
/_cata.....
分类:
其他好文 时间:
2014-05-07 09:27:01
阅读次数:
223
PCB(Process Control Block) 进程控制块TCB(Thread Control
Block)线程控制块DMA(Direct Memory Access)汉语的意思就是直接内存访问,是一种不经过CPU而直接从内存存取数据的数据交换模式。
分类:
其他好文 时间:
2014-05-06 14:31:53
阅读次数:
255
AWS -Amazon Web Services(AWS) - Cloud Computing
ServicesEC2 -Amazon Elastic Compute Cloud (EC2)Create First Application in
Elastic Beanstalk1. Login A...
分类:
其他好文 时间:
2014-05-06 13:56:32
阅读次数:
428
一直不太明白Windows的ACL是怎么回事,还是静下心来看一手的MSDN吧。[翻译]
Access Control Lists[翻译] How Access Check Works
分类:
数据库 时间:
2014-05-06 11:39:13
阅读次数:
450
线程相关操作说明 一 pthread_t
pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义: typedef unsigned long int
pthread_t; 它是一个线程的标识符。 二 pthread_create 函数pthre...
分类:
编程语言 时间:
2014-05-06 09:46:36
阅读次数:
505