【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
mAlloc proc nSize:dword add nSize,4 invoke
GlobalAlloc,GMEM_ZEROINIT or GMEM_FIXED,nSize .if eax==0 invoke
MessageBox,NUL...
分类:
其他好文 时间:
2014-06-02 08:38:50
阅读次数:
267
Oracle10gbigfile表空间简介
01.ABigfile表空间包含一个非常大的数据文件
02.SMALLFILE表空间和BIGFILE表空间可以在同一个数据库共存
1.创建一个bigfile表空间
SQL>CREATEBIGFILETABLESPACEbig01
datafile‘/oracle/oradata/orcl/big01.dbf‘size50M;
Tablespacecreat..
分类:
数据库 时间:
2014-06-02 04:06:58
阅读次数:
314
1,能够用route命令暂时改动:route add default gw 2,
通过改动/etc/sysconfig/network 文件永久改动:脚本:#!/bin/sh#configure default gw# $1 is ip of
gatewaydefgw=$1sed -i "s/NET...
分类:
其他好文 时间:
2014-06-02 02:11:10
阅读次数:
270
方法1:在Eclipse中,右击项目,选择Java Build
Path->Libraries->Add External
JARs,找到你计算机中tomcat的安装路径,在common\lib文件夹下选中"servlet-api.jar",添加点击“确定”,ok!方法2:把servlet-api....
分类:
编程语言 时间:
2014-06-02 01:44:50
阅读次数:
349
与MVC3相比,差别很大: public ActionResult Main() { List
items = new List(); items.Add(new SelectListItem { Text = "Action", Value...
分类:
Web程序 时间:
2014-06-02 01:34:06
阅读次数:
338
UIScrollView:常用属性@property(nonatomic)
UIEdgeInsets contentInset; // default UIEdgeInsetsZero. add additional scroll
area around content@prop...
分类:
移动开发 时间:
2014-06-01 23:53:28
阅读次数:
505
iOS7刚发布的时候,总是出现这个 Can't add self as subview 的崩溃,团队内部没出现过,但是外部用户的crash频频上报这个崩溃。
异常描述和崩溃堆栈是这样的:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Can't add se...
分类:
其他好文 时间:
2014-06-01 17:32:08
阅读次数:
489
You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-06-01 17:05:44
阅读次数:
296
当Cordova
程序打包并安装到手机中后,我们会发现启动程序时,会有数秒的黑屏现象,常见的解决方法则是设置闪屏后面。这里以 Android
程序为例,介绍Cordova设置启动画面的方法。1. 添加动画闪屏支持打开cmd,进入项目目录下,执行命令:cordova plugin add
org.ap...
分类:
其他好文 时间:
2014-06-01 11:27:00
阅读次数:
292