12096 The SetStack Computer
Background from Wikipedia: Set theory is a branch ofmathematics created principally by the German mathe-matician Georg
Cantor at the end of the 19th century.
Initially ...
分类:
其他好文 时间:
2015-02-02 23:20:26
阅读次数:
519
程序代码:unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls;typeTForm1 = class(TForm) But...
Dim oWMI, WQL, Instances, Instance 'Get base WMI object, "." means computer name (local) Set oWMI = GetObject("WINMGMTS:\\.\ROOT\CIMV2\T...
分类:
移动开发 时间:
2015-02-02 19:27:06
阅读次数:
235
import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.LinearGradient;import android.grap...
分类:
其他好文 时间:
2015-02-02 17:30:55
阅读次数:
182
Description
Question 2: File Fragmentation
The Problem
Your friend, a biochemistry major, tripped while carrying a tray of computer files through the lab. All of the files fell to the...
分类:
其他好文 时间:
2015-02-02 16:00:52
阅读次数:
209
需要说明的是,在GDI+中,我们可以通过SetTextRenderingHint来控制文本输出的质量。例如下面的代码,其结果如图7.15所示。Graphics graphics( pDC->m_hDC );FontFamily fontFamily(L"楷体_GB2312");Font font(&...
分类:
其他好文 时间:
2015-02-02 15:36:45
阅读次数:
312
题意 从1开始 1变为01 0变为10 计数变换多少次后连续0序列的个数。题解 找规律(菲波数)+大数相加a[i]=a[i-1]+a[i-2]*2; 1 #include 2 #include 3 #include 4 #define N 1001 5 using namespace std; 6....
分类:
其他好文 时间:
2015-02-02 12:21:50
阅读次数:
275
代码如下
package com.util;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridLayout;
import java.aw...
分类:
编程语言 时间:
2015-02-02 10:52:18
阅读次数:
172
最近开始看《
??
OpenCV2 Computer Vision Application Programming Cookbook》这本书了,去年看的《learning opencv》,里边讲的都是c的接口,现在这本是基于opencv2.0以上版本的书,用c++接口,看这本才对。
Mat 这个容器可以存矩阵或者image,但是 Mat 容器的变量相互赋值时,为了节约内存的,拷贝复制...
分类:
其他好文 时间:
2015-02-01 21:55:03
阅读次数:
245
使用Android的canvas,画折线图:代码为:package spt.view;import android.annotation.SuppressLint;import android.content.Context;import android.graphics.Canvas;import...
分类:
移动开发 时间:
2015-02-01 21:44:52
阅读次数:
146