JavaScript charAt() 函数
string.charAt(n) -- 返回指定位置(n)的字符
char是character的缩写,中文"符号,字符"引用网址:http://www.dreamdu.com/javascript/string.charAt/
charAt函数语法
string.charAt(n);
charAt函数参数...
分类:
Web程序 时间:
2014-10-16 18:49:42
阅读次数:
241
操作系统:windows 7
数据库版本:oracle 10g
VS版本:VS2010
前言:连接ORACLE的方式有很多,此处仅以PROC为例,说明如何连接oracle,有不妥之处,望诸位看官指出,学习共进。
一、安装oracle 10g对应的客户端版本。
注意事项:做好客户配置,以本机为例:D:\oracle\product\10.2.0\client_2\NETWORK\A...
分类:
数据库 时间:
2014-10-16 18:49:37
阅读次数:
297
(1)lsb_release 命令查看,FSG(Free Standards Group)组织开发的LSB (Linux Standard Base)标准的一个命令,用来查看linux兼容性的发行版信息
[root@enmoteam1 oracle]# lsb_release -h
FSG lsb_release v2.0 prints certain LSB (Linux Standard Base) and
Distribution information.
Usage: lsb_release ...
分类:
系统相关 时间:
2014-10-16 18:16:17
阅读次数:
314
题目大意:给定一个无向图,运输n天,其中有些天有些点不能走,更换路线代价为k,求代价总和
首先令cost[i][j]为第i天到第j天都走同一路线的最小花销 这个用SPFA处理
然后就是动规的问题了 令f[i]为1~i天的最小花销
则f[i]=min{ f[j]+cost[j+1][i]+k } ( 0
注意m和n别写反
乘天数之前要特判是不是正无穷
#include
#include
...
分类:
其他好文 时间:
2014-10-16 19:38:53
阅读次数:
223
让UIAlertController同时兼容iphone和ipad...
分类:
其他好文 时间:
2014-10-16 19:22:02
阅读次数:
332
Longest Ordered Subsequence
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 33943
Accepted: 14871
Description
A numeric sequence of ai is ordered if a1 a2 ...
分类:
其他好文 时间:
2014-10-16 19:38:32
阅读次数:
209
模板方法模式
GOOD:把不变的代码部分都转移到父类中,将可变的代码用virtual留到子类重写
#include
#include
#include
using namespacestd;
classAbstractClass
{
public:
void Show()
{
cout我是"
...
分类:
其他好文 时间:
2014-10-16 18:48:03
阅读次数:
198
'==============================================================
'功能:ASP Server对象内置编码函数
'描述:没有对应的解码函数
'==============================================================
Function VB_URLEncode(enStr)
V...
分类:
Web程序 时间:
2014-10-16 19:04:32
阅读次数:
306
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
">
Echarts demo
...
分类:
其他好文 时间:
2014-10-16 18:14:22
阅读次数:
271
//
// ViewController.swift
// JieCoreLocation
//
// Created by jiezhang on 14-10-4.
// Copyright (c) 2014年 jiezhang. All rights reserved.
//
import UIKit
import CoreLocation
class ViewController...
分类:
编程语言 时间:
2014-10-16 19:54:13
阅读次数:
294
背景: 最近重新花时间阅读了DICOM标准,顺带着看了一下HL7标准和IHE,对标题中提到的SWF、WML、SPS和MPPS有了更进一步的认识,现将自己的理解整理出来,算作读书笔记吧。通过对比DICOM、HL7和IHE,更全面、更清晰的了解医疗信息行业。...
分类:
其他好文 时间:
2014-10-16 19:03:52
阅读次数:
350
装饰者模式,可以实现一个很重要的面向对象设计原则,那就是:类应该对扩展开放,而对修改关闭。换句话说,就是在不必改变原类文件和使用继承的情况下,动态地扩展一个对象的功能。...
分类:
其他好文 时间:
2014-10-16 19:53:42
阅读次数:
257
实现动画特效,除了[UIView beginAnimations:]这套组合外,推荐使用[UIView animateWithDuration: animations:^{ } completion:^(BOOL finished) { }];如果动画完成后没有需要执行的代码,那么最后面的completion可以去除。...
分类:
移动开发 时间:
2014-10-16 19:36:53
阅读次数:
305
$file = 'xingxiu.php';
$xx = array(
0=>array('id'=>13,'xingxiu'=>'室宿'),
1=>array('id'=>14,'xingxiu'=>'壁宿'),
2=>array('id'=>15,'xingxiu'=>'奎宿'),
3=>array('id...
分类:
编程语言 时间:
2014-10-16 18:13:22
阅读次数:
240