1、定义一个基类接口public interface IBaseEntity{/// 最后操作人编码
string LastOperatorCode { get; set; }/// 最后操作人 string LastOperator { get; set;
}/// 最后操作时间 DateT...
分类:
其他好文 时间:
2014-05-01 08:14:17
阅读次数:
267
思路很简单,就是存储之前运算的结果,然后递归class Solution {public: int**
dp; int get_min_sum(vector > &grid, int m, int n) { if (dp[m][n] != -1)
...
分类:
其他好文 时间:
2014-05-01 07:54:47
阅读次数:
330
首先:我们建立一个超类:Clothes: public abstract class
Clothes { public string Look = "beautiful"; public string Getlook() { ...
分类:
其他好文 时间:
2014-05-01 05:33:23
阅读次数:
231
来自:#include "DDraw.h"class CDDraw{public:void
CleanUp();void DrawDIB(BITMAPINFOHEADER* pBI,char* pData,RECT*rt);BOOL Init(HWND
hWnd,int nWidth,int nHe...
分类:
其他好文 时间:
2014-05-01 05:25:10
阅读次数:
407
废话不多说,直接通过例子来说明POI的使用:1.一个创建excel并写入数据的小例子,参照网上的一个例子:public class CreateXL { /**
* @param args */ public static String outputFile="D:\\t...
分类:
其他好文 时间:
2014-05-01 05:18:04
阅读次数:
426
BeginReceive 与endReceive
必须成对出现,如果BeginReceive没有及时调用endReceive,可能会出现数据被从buffer中读取二次,如果在下面这行代码下面加入别的代码就会出现被处理二次的结果
如下public void BeginReceive(SessionLi...
分类:
其他好文 时间:
2014-05-01 04:27:44
阅读次数:
428
所有注释放在代码中...(图片的加入使用硬代码)package
com.sxt.jtime;import java.awt.BorderLayout;public class Itimer_test extends
JFrame { private JPanel contentPane; ...
分类:
编程语言 时间:
2014-05-01 04:01:01
阅读次数:
546
1.1) public class ReturnIt{2) returnType
methodA(byte x, double y){3) return (short)x/y*2;4) }5) }what is valid
returnType for methodA in line 2?这...
分类:
其他好文 时间:
2014-05-01 03:58:57
阅读次数:
330
package algorithm.sort;public class QuickSort {
public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4,
9, 8, 6, 1}; sort(a); ...
分类:
其他好文 时间:
2014-05-01 03:33:20
阅读次数:
330
3.public class IfTest{ public static void
main(String args[]){ int x=3; int y=1; if(x=y) System.out.println("Not eq...
分类:
其他好文 时间:
2014-05-01 03:32:18
阅读次数:
320