[ 问题: ]
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
[...
分类:
其他好文 时间:
2014-07-22 23:01:35
阅读次数:
331
Red Hat Enterprise Linux 5 64-bit 系统下安装中文语言支持方法 测试环境:Windows2012+Vmvare9.0+Red Hat Enterprise Linux 5 64-bit 虚拟机安装光盘: rhel-5-server-x86_64-dvd.iso安装中文显示步骤:1、启动Red Hat Enterprise Linux 5 64-bit 虚拟机,打开光...
分类:
系统相关 时间:
2014-07-22 23:00:33
阅读次数:
618
google提供了Android Support Library package
系列的包来保证来高版本sdk开发的向下兼容性,即我们用4.x开发时,在1.6等版本上,可以使用高版本的有些特性,如fragement,ViewPager等,下面,简单说明下这几个版本间的区别:
Android Supp...
分类:
移动开发 时间:
2014-05-12 16:42:26
阅读次数:
478
安装ActionBar:
Support Android 3.0 and Above Only(仅支持3.0版本之后)
...
Support Android 2.1 and Above(如果想让应用支持3.1版本之后,需如下操作)
1安装v7 appcompat 库
2Update your activity so that it extends ActionB...
分类:
移动开发 时间:
2014-05-02 06:52:12
阅读次数:
508
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
(转载请注明出处:http://blog.csdn.net/buptgshengod)
1.背景
支持向量机SVM(support vector machines)。SVM是一种二值分类器,是近些年比较流行的一种分类算法。
本文,首先要介绍一些基本的知识概念,在下一章将对SVM进行简单地代码实现。
2.基本概念
(1)线性可分...
分类:
编程语言 时间:
2014-05-01 17:48:01
阅读次数:
374
在MVC中我们可以很轻松的根据项目需求进行必要的信息转换,如设置默认的日期格式,自定义String类型的格式等等。。。
配置中我们需要自定义converseService:
class="org.springframework.context.support.ConversionServiceFactoryBean">
然后在:使用自定义的converse...
分类:
编程语言 时间:
2014-05-01 17:18:11
阅读次数:
311
问题描述:
在Eclipse中运行ant批量打包工具出错,日志信息如下:
D:\Android\android-sdk-windows\tools\ant\build.xml:601: The following error occurred
while executing this line:
D:\Android\android-sdk-windows\tools\ant\bui...
分类:
移动开发 时间:
2014-04-30 22:48:39
阅读次数:
359
类似java的多行注释!
安装过程:
1.前往GitHub下载工程文件:VVDocumenter-Xcode
2.用Xcode打开工程,Command + B
Build成功后,可以在~/Library/Application Support/Developer/Shared/Xcode/Plug-ins目录下看到生成的xcplugin文件:
...
分类:
其他好文 时间:
2014-04-30 22:46:38
阅读次数:
304
1、报错The current deployment target does not support automated __weak references
这个错误是说支持的iOS版本比较低不支持weak关键字,要将其换成 unsafe_unretained 问题就解决了。...
分类:
移动开发 时间:
2014-04-29 13:26:20
阅读次数:
344