码迷,mamicode.com
首页 >  
搜索关键字:blog    ( 264251个结果
Problem Distinct Subsequence
Problem Desciption : Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:其他好文   时间:2014-07-07 19:39:07    阅读次数:206
Bus System(Flody)
http://acm.hdu.edu.cn/showproblem.php?pid=1690坑爹的题,必须用__int64 %I64d(以前没用过)因为这题的数据特别大,所以用-1 1 #include 2 #include 3 #include 4 #include 5 #inc...
分类:其他好文   时间:2014-07-07 19:37:54    阅读次数:214
智能指针
1. 为什么要智能指针?由于C++语言没有自动内存回收机制,程序员每次new出来的内存都要手动delete。但是有时候可能程序员会忘记delete,也可能是因为流程太复杂,最终没有delte,也可能是因为异常的存在,导致程序过早的退出,没有执行delete。用只能指针可以有效的解决这些问题。std:...
分类:其他好文   时间:2014-07-07 19:37:10    阅读次数:323
Spring任务调度使用
使用方法:基于XML方式配置调用:1 任务类实现:package com.demo.schedule;public class ScheduleTask { private int i=0; public void process(){ System.out.println...
分类:编程语言   时间:2014-07-07 19:36:28    阅读次数:235
R-kmeans
data <- read.csv("//Users//tangjingxiao//Desktop//2.csv",header=T,sep="\t",encoding="utf-8")datafix(data)View(data)newdata <- t(data)view(newdata)View...
分类:其他好文   时间:2014-07-07 19:35:07    阅读次数:208
ucenter 同步登录总结
部署:discuz默认安装后就安装了uc_server应用各应用根目录必须有uc_client文件夹。下载ucenter程序查看范例程序应用管理中,应用的主 URL必须指向到应用的根目录,应用接口文件名称,不含路径,默认为uc.php(默认在根目录的api目录下),从而程序会组成 http://lo...
分类:其他好文   时间:2014-07-07 19:33:55    阅读次数:221
java设计模式
设计模式(Design Patterns) ——可复用面向对象软件的基础设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设...
分类:编程语言   时间:2014-07-07 19:32:40    阅读次数:486
Material Design
原文:http://blog.csdn.net/xyz_lmn/article/details/35552103 Material Design是google io开发者大会推出的新的设计语言,Material Design不像Android过去采用的Holo风格那样深沉,增加或修改了阴影动画功能....
分类:其他好文   时间:2014-07-07 19:31:59    阅读次数:356
Entity Framwork——Left Join
linq to Entity Framework 中left join 的使用,Linq 中使用Into 语句和不使用Into 语句的区别, Linq DefaultIfEmpty 函数的作用
分类:其他好文   时间:2014-07-07 19:31:23    阅读次数:296
简单操作字符串
使用javascript实现常用的字符串操作。一,字符串按逗号分割装入数组,使用split()函数可以实现。var str=",,,,,,,,,,,abc,123,4cc,569,dfk,,,,,,,,";function goArray(str){ var arr=[]; var s=...
分类:其他好文   时间:2014-07-07 19:29:58    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!