2013年5月1日

摘要: 1、sysobjects系统对象表。 保存当前数据库的对象,如约束、默认值、日志、规则、存储过程等在sqlserver2005,sqlserver2008版本的数据库里,现在已经作为一个视图对象,在每一个数据库的系统视图中,都存在一个sys.sysobjects 视图对象。sysobjects 重要字段解释:sysObjects (Name sysname, --object 名称id int, --object idxtype char(2), -- object 类型type char(2), -- Object 类型(与xtype 似乎一模一样? 有点郁闷…)uid smallint, 阅读全文
posted @ 2013-05-01 10:36 至虚极,守静笃 阅读(133) 评论(0) 推荐(0) 编辑

2013年4月24日

摘要: 把之前的一个程序放到32bit win7的vs2010下编译,出现如下错误:fatal error C1189: #error :This file requires _WIN32_WINNT to be #defined at least to 0x0403.Value 0x0501 or higher isrecommended.网上提供的可行修改方法是,在stdafx.h中添加如下语句(如有类似语句,需注释掉)#ifndef WINVER // Allow use of features specific to Windows 95 andWindows NT 4 or later.#d 阅读全文
posted @ 2013-04-24 17:49 至虚极,守静笃 阅读(248) 评论(0) 推荐(0) 编辑

2012年8月19日

摘要: #include<iostream>using namespace std;#define SIZE 10void Insert_Sort(int array[]);void Show_Array(int array[]);void main(){ int array[SIZE]={12,4512,65,45,21,76,122,67,32,9}; Insert_Sort(array); Show_Array(array);}void Insert_Sort(int array[]){ int i,j; int temp; for (i=1;i<SIZE;i++) //第一个 阅读全文
posted @ 2012-08-19 21:30 至虚极,守静笃 阅读(127) 评论(0) 推荐(0) 编辑

2012年8月18日

摘要: syntax error in option "subsystem:windows/incremental:yes"由于出现error LNK2001: unresolved external symbol _main错误 按百度知道哩的方法:在Project Options中将/subsystem:console改成/subsystem:windows又出现了题目上的错误。解决方法:在把windows/incremental:yes改为windows /incremental:yes。即使在windows后加一个空格。 阅读全文
posted @ 2012-08-18 23:00 至虚极,守静笃 阅读(420) 评论(0) 推荐(0) 编辑
摘要: DrawText该函数在指定的矩形里写入格式化的正文,根据指定的方法对正文格式化(扩展的制表符,字符对齐、折行等)。int DrawText(HDC hDC, // 设备描述表句柄 LPCTSTR lpString, // 将要绘制的字符串 int nCount, // 字符串的长度 LPRECT lpRect, // 指向矩形结构RECT的指针 UINT uFormat // 正文的绘制选项 ); hdc:输入]设备环境句柄。 lpString:[输入]指向将被写入的字符串的指针,如果参数nCount是-1,则字符串必须是以\0结束的。 如果uFormat包含DT_... 阅读全文
posted @ 2012-08-18 22:42 至虚极,守静笃 阅读(13524) 评论(0) 推荐(0) 编辑
摘要: ShowWindowThis function sets the specified window’s show state.BOOL ShowWindow( HWND hWnd, int nCmdShow ); ParametershWndHandle to the window.nCmdShowSpecifies how the window is to be shown. The first time ShowWindow is called, the value should be the value obtained by the WinMain function in its nC 阅读全文
posted @ 2012-08-18 09:18 至虚极,守静笃 阅读(4348) 评论(0) 推荐(0) 编辑

导航