package com.bupt.acm;import
java.util.Scanner;public class HeapSort { private int getLeft(int i){ return
2*(i+1)-1; } private int ...
分类:
其他好文 时间:
2014-05-21 22:01:39
阅读次数:
246
先来看一段代码: public static void main(String[] args) {
new Timer().schedule(new TimerTask() {
@Override
public void run() {
System.out.println("阳光小强");
}
}, 5000);
int i = 0;
wh...
分类:
移动开发 时间:
2014-05-21 16:56:51
阅读次数:
296
Big Event in HDU
Problem Description
Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split into Comp...
分类:
其他好文 时间:
2014-05-21 10:51:55
阅读次数:
300
《深度搜索C++对象模型》的一些学习纪要:
一成员变量篇
0. 类的编译中,先编译成员变量和成员函数的额声明,成员函数的定义在类声明结束后再处理;
1. 类中,多个代码区块public或者private最终会被按区块统一,然后编译过程中,后定义的成员变量地址高于定义的成员变量;
2. 静态变量在程序启动时初始化,存储的位置在于程序的全局数据段中;
3. 继承中...
分类:
编程语言 时间:
2014-05-21 10:18:55
阅读次数:
305
#include
#include
using namespace std;
class Point
{
public:
Point(double a,double b):x(a),y(b) {}
double getx()
{
return x;
}
double gety()
{
return y;
...
分类:
其他好文 时间:
2014-05-21 10:09:26
阅读次数:
309
本文均属自己阅读源码的点滴总结,转账请注明出处谢谢。欢迎和大家交流。qq:1037701636 email: gzzaigcn2012@gmail.com 在上一文中,我们分析到setDataSource_pre()函数最终实际返回的是StagefrightPlayer类(class StagefrightPlayer : public MediaPlayerInterface).1 .继续分析...
分类:
移动开发 时间:
2014-05-21 07:59:59
阅读次数:
371
1 2 3 4 5 20 21 22 23 24 25 26 27 28 View
Code上面是前台代码,下面是后台代码. 1 public partial class WebForm1 : System.Web.UI.P...
分类:
Web程序 时间:
2014-05-21 05:40:54
阅读次数:
321
import java.io.*; class Main{ public static
void main(String[] args) throws IOException{ File path=new
File("D:\\jlp1\\jlp2"); File file...
分类:
其他好文 时间:
2014-05-21 04:57:31
阅读次数:
226
链表结点类型定义:1 class Node {2 public:3 int data = 0;4
Node *next = nullptr;5 6 Node(int d) {7 data = d;8 }9 };快行指针(runner)技巧:同时...
分类:
编程语言 时间:
2014-05-21 04:26:19
阅读次数:
444
在数据库调用常见
Class.forName("com.mysql.jdbc.Driver");语句,这是用于加载数据库的此类.此类的源码是 1 public class
Driver extends NonRegisteringDriver implements java.sql.Driver {...
分类:
其他好文 时间:
2014-05-21 04:09:59
阅读次数:
233