上一页 1 ··· 354 355 356 357 358 359 360 361 362 ··· 455 下一页
Oracle官方参考:PL/SQL Language Referenc->9 PL/SQL TriggerReasons to Use Trigger:■ Automatically generate calculated column values ■ Log events ■ Gather statistics on table access ■ Modify table data when DML statements are issued against views ■ Enforce referential integrity when child and parent tab Read More
posted @ 2013-04-03 15:56 javawebsoa Views(192) Comments(0) Diggs(0)
Get SharePoint 2010 version with PowerShellAs part of the summary script I use the following code to get the SharePoint 2010 build version. This identifies which CU or Service Pack has been installed.There are a couple of ways for getting the build version:1. Using Central AdministrationIt is of cou Read More
posted @ 2013-04-03 15:52 javawebsoa Views(209) Comments(0) Diggs(0)
// BSearch.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <iostream>using namespace std;template <class T>void PrintfNum(T a[],const int& n);/*** search n in a[], return the index, if not find, return -1.*/template <class T>int Read More
posted @ 2013-04-03 15:48 javawebsoa Views(181) Comments(0) Diggs(0)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=u Read More
posted @ 2013-04-02 14:46 javawebsoa Views(157) Comments(0) Diggs(0)
这个题不难但是里面有很多东西需要注意,尤其是Ties are broken in such a way that an earlier time precedes a later time.这就是说当夹角一样时,事件小的放在前面。比较麻烦啊。#include<iostream>#include<string>#include<math.h>#include<algorithm>using namespace std;struct node{ string ko; int shi; int fen; double angle;};bool cmp( Read More
posted @ 2013-04-02 14:44 javawebsoa Views(154) Comments(0) Diggs(0)
一、Javabeans原题:DescriptionJavabeans are delicious. Javaman likes to eat javabeans very much.Javaman has n boxes of javabeans. There are exactly i javabeans in the i-th box (i = 1, 2, 3,...n). Everyday Javaman chooses an integer x. He also chooses several boxes where the numbers of javabeans are all a Read More
posted @ 2013-04-02 14:42 javawebsoa Views(207) Comments(0) Diggs(0)
通常用QLabel显示图像,QLabel类有setPixmap()函数,可以用来显示图像。也可以直接用QPainter画出图像。如果图像过大,直接用QLabel显示,将会出现有部分图像显示不出来,这时可以用Scroll Area部件。方法:将QLabel部件放到Scroll Area部件里面,将两个采用栅格布局,当图像超出了QLabel部件大小时,就会产生滑动杆,这样图像就可以都看到了。具体方法如下:1. 在ui界面中放置Scroll Area控件2. 将一个Label控件放在Scroll Area控件中3. 点击以下图标,实现二者栅格布局4. 在槽函数中写如下代码QString filena Read More
posted @ 2013-04-02 14:40 javawebsoa Views(1077) Comments(0) Diggs(0)
文字旁边搭配图片时,发现图片比文字靠上,原来默认的情况是图片顶对齐而文字底对齐,通过设置css属性可以使得图片与文字对齐。 设置各对象的vertical-align属性,属性说明: baseline-将支持valign特性的对象的内容与基线对齐 sub-垂直对齐文本的下标 super-垂直对齐文本的上标 top-将支持valign特性的对象的内容与对象顶端对齐 text-top-将支持valign特性的对象的文本与对象顶端对齐 middle-将支持valign特性的对象的内容与对象中部对齐 bottom-将支持valign特性的对象的文本与对象底端对齐 text-bottom-将支持valig Read More
posted @ 2013-04-02 14:38 javawebsoa Views(466) Comments(0) Diggs(0)
3.一个有窗口和窗口过程函数但没有消息循环的程序一个程序,如果我们创建了窗口,也定义了窗口过程函数,但是没有建立消息循环会怎样呢?我们在win32控制台项目下编写如下代码:#include <windows.h>#define WM_TEST 10000LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); void main(){ static TCHAR szAppName[]=TEXT("Test!"); HWND hwnd; WNDCLASS wndclass = {NULL}; wndclass.lp Read More
posted @ 2013-04-02 14:36 javawebsoa Views(241) Comments(0) Diggs(0)
Problem Description A weird clock marked from 0 to 59 has only a minute hand. It won't move until a special coin is thrown into its box. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind. There are infinite number of coins of eac Read More
posted @ 2013-04-02 14:34 javawebsoa Views(187) Comments(0) Diggs(0)
上一页 1 ··· 354 355 356 357 358 359 360 361 362 ··· 455 下一页