使用scott用户 set utotrace on报错
SCOTT@TEST0422>set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
SCOTT@TEST...
分类:
数据库 时间:
2014-05-10 19:35:23
阅读次数:
389
关系:
java.lang.Object
? android.os.AsyncTask
概述:
AsyncTask是Android提供的轻量级异步类;它在后台线程处理耗时的操作然后可以将处理的结果返回给UI线程处理。由于它不涉及到使用Thread和Handler所以简单易用。
用法:
首先上一段Android Developer的代码:
private ...
分类:
其他好文 时间:
2014-05-10 10:11:00
阅读次数:
317
Description Given a code (not optimized), and
necessary inputs, you have to find the output of the code for the inputs. The
code is as follows: int a,...
分类:
其他好文 时间:
2014-05-07 09:56:16
阅读次数:
310
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-07 09:36:09
阅读次数:
300
这两天较系统的看了下C++的基本用法,对比自己对Java理解,感觉就是C++特性远远多于Java,语法上兼容C,更加贴近系统和底层,对内存操作非常的灵活。如:
C++中类的对象可以开辟在栈空间中。Java类的对象都必须用new关键字开辟在堆中;
C++的基本数据类型也可以用new开辟在堆中。Java基本数据类型只能开辟在栈中,除非使用包装类包装成对象;
C++用new开辟的内存必须手动delete,否则内存泄露。Java则有著名的垃圾回收;
C++传参可以传值和传引用,也可以配合指针传对象地址,自己来决定。...
分类:
编程语言 时间:
2014-05-07 08:45:33
阅读次数:
353
最近看boost的时候总是遇见这个eval_if,不知道啥意思,就没法看下去了,比如
前篇文章boost::serialization 拆分serialize函数分析时就出现这样一段代码:
template
inline void split_member(Archive & ar, T & t, const unsigned int file_version)
{
typedef BOOS...
分类:
其他好文 时间:
2014-05-07 06:21:14
阅读次数:
556
For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.
Input
The first line is an integer T, which is the the...
分类:
其他好文 时间:
2014-05-06 19:21:10
阅读次数:
290
【Question】
Given an array S of n integers, are there elements a, b, c in S such
that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in ...
分类:
其他好文 时间:
2014-05-06 14:57:29
阅读次数:
318
SQL Union和SQL Union All用法SQL Union和SQL Union
All用法SQL UNION 操作符UNION 操作符用于合并两个或多个 SELECT 语句的结果集。请注意,UNION 内部的 SELECT
语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 ...
分类:
数据库 时间:
2014-05-06 12:22:36
阅读次数:
340