package?com.example.test;
import?android.app.Activity;
import?android.content.Context;
import?android.graphics.Color;
import?android.os.Bundle;
import?android.view.Gravity;
import?android.v...
分类:
移动开发 时间:
2014-08-01 13:59:21
阅读次数:
2035
//Delphi动态建立WebBrowerunit Main;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls;typeTForm1 = c...
分类:
Web程序 时间:
2014-08-01 13:07:31
阅读次数:
242
unitUnit1; interface uses Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms, Dialogs,StdCtrls; type TForm1=class(TForm) Button1:TButt...
分类:
其他好文 时间:
2014-08-01 12:57:41
阅读次数:
198
//获取 TreeView选中的文件路径unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ComCtrls;type...
分类:
其他好文 时间:
2014-08-01 12:54:11
阅读次数:
205
一、准备工作 首先就是要有一个刷了openwrt的路由器,固伯里至少包括下面两个摄像头相关模块 kmod-video-core, kmod-video-uvc 以及mjpeg-streamer软件,一个免驱并支持MJPEG输出的摄像头,本人使用HD5000,建议使用HD3000,差别不大二、...
分类:
其他好文 时间:
2014-08-01 10:49:01
阅读次数:
181
一个CPU有两个核,要把n个模块放在其中一个核上,给出放在不同核上的花费。
另给出m对模块,若不放在同一模块则会产生额外花费。求最小花费。
对于每一个模块可以选择核1,核2,和相连的模块。
据此建边,核1为源点,核2为汇点,相连的模块之间建双向边,边权均为花费。求最小割即可。
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-08-01 09:18:11
阅读次数:
184
经过前几讲的介绍,我想大家对struts2有了初步的了解,下面让我来讲讲struts2中常量的用法和使用(常量的默认配置struts2-core-2.x.x.x/org/apache/struts2/default.properties文件里)。一.常量配置: 要用常量,首先要通过配置来实现,常量....
分类:
其他好文 时间:
2014-07-31 23:35:10
阅读次数:
305
通常struts2加载struts2常量的顺序如下: 1. struts-default.xml:该文件保存在struts2-core-2.0.6.jar文件中。2. struts-plugin.xml:该文件保存在struts2-Xxx-2.0.6.jar等Struts2插件JAR文件中。3. s...
分类:
其他好文 时间:
2014-07-31 23:31:40
阅读次数:
313
iOS绘图教程:http://www.cocoachina.com/applenews/devnews/2014/0115/7703.html本篇博文是为了梳理学习过程中得框架,上边链接是cocoachina的教程,更详细一些iOS支持两套图形API族:Core Graphics/QuartZ 2D...
分类:
移动开发 时间:
2014-07-31 19:40:07
阅读次数:
263
index.html dsFrameWork_Core.js/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear(...
分类:
其他好文 时间:
2014-07-31 16:40:46
阅读次数:
225