1、首先说一下canvas类: Class Overview The Canvas class holds the "draw" calls. To draw something, you need 4 basic components: A Bitmap to hold the pixels, a...
分类:
移动开发 时间:
2014-09-22 14:07:32
阅读次数:
317
In the last blog, we talked about the basic operation of MongoDB, including insert, query, remove and update. Now in this blog, we will further hava a good understanding of querying operation.
At f...
分类:
数据库 时间:
2014-09-22 01:35:41
阅读次数:
233
下载instantclient-basic-nt-11.2.0.2.0位客户端,加压后存放,如F:\instantclient_11_2拷贝Oracle11.2G的msvcr80.dll和tnsnames.ora到解压的instantclient_32位客户端根目录,它们的位置分别是:D:\home...
分类:
数据库 时间:
2014-09-21 23:09:01
阅读次数:
282
第一步:使用oracle用户登录第二步:在oracle用户下输入sqlplus/nolog第三步:如需使用管理员权限,则输入connect/assysdba第四步:启动和关闭startupstartupnomount#只启动实例startupmount#打开控制文件startupopen#打开数据文件和重做日志shutdownshutdownnormal#不接受新的..
分类:
数据库 时间:
2014-09-21 20:18:42
阅读次数:
403
1, Insert
MongoDB is database storing document object, the type of which is called Bson.(like JSON);
Example: // document defination
Now after using command[db.posts.insert(doc)], you will...
分类:
数据库 时间:
2014-09-21 01:19:39
阅读次数:
380
Implement pow(x, n).Analysis:The most basic idea, x multiply itself n time and return. However, this strait forward approach got time excessed. O(n).N...
分类:
其他好文 时间:
2014-09-20 01:04:26
阅读次数:
207
总结一下,linux的开机整个流程。 · 1: 启动电源后,主机第一步先做的就是查询BIOS(全称:basic input/output system 基本输入输出系统)信息。了解整个系统的硬件状态,如CPU,内存,显卡,网卡等。嗯,这一步windows算和它是一家。不分彼此。 · 2: 接下来.....
分类:
系统相关 时间:
2014-09-19 23:47:26
阅读次数:
395
#include "string"#include "vector"#include "time.h"typedef std::basic_string tstring;typedef std::vector IntVec;// iIndexAdjust 从0计数.... left = 2i+1;r...
分类:
其他好文 时间:
2014-09-19 19:04:05
阅读次数:
182
Excel2007为例:“可用加载宏”快捷键——Alt+T+IMicrosoft Visual Basic——Alt+F111:通过快捷键(Alt+F11)打开VBA编程窗口;2:在对应Sheet处右键“插入”-“模块”;3:在新建的“模块”中添加如下代码,运行子过程即可; 1 Function P...
分类:
其他好文 时间:
2014-09-19 17:22:15
阅读次数:
796
1 # Basic Incast Simulation 2 # Check Args 3 if {$argc != 5} { 4 puts "Usage: ns incast " 5 exit 1 6 } 7 8 #########################...
分类:
其他好文 时间:
2014-09-19 15:25:45
阅读次数:
197