码迷,mamicode.com
首页 >  
搜索关键字:es6 string api    ( 146690个结果
nyoj 708 ones 动态规划
http://acm.nyist.net/JudgeOnline/problem.php?pid=708状态转移方程的思路:对于一个数N,可以是N - 1的状态+1 得到,另外,也可以是(n / 2) * (1 + 1)得到,同理对于任意的奇数p,都有如果n可以整除p,都有f(n / p) + f(...
分类:其他好文   时间:2014-04-30 21:26:26    阅读次数:519
A Book Store Application Using AngularJS and Asp.Net Web Api
There are many examples out there demonstrating how AngularJS and Web API can be used together but almost all of them are in MVC, so I tried to implem...
分类:移动开发   时间:2014-04-30 21:19:35    阅读次数:625
LeetCode3:Longest Substring Without Repeating Characters
题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter...
分类:其他好文   时间:2014-04-30 21:15:32    阅读次数:511
C++ 关于I/O
istringstream: istringstream 对象可以绑定一行字符串,然后以空格为分隔符把该行分隔开来。创建对象:istringstream strsm("aa bb c");//strsm>>astr;//string astrstrsm>>bstr;//string bstrcout...
分类:编程语言   时间:2014-04-30 21:14:06    阅读次数:651
Win32编程中如何处理控制台消息
这篇文章讨论如何处理所有的控制台消息。 第一步,首先要安装一个事件钩子,也就是说要建立一个回调函数。调用Win32 API,原型如下:BOOL SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, // 回调函数BOOL Add // 表示.....
分类:Windows程序   时间:2014-04-30 20:46:56    阅读次数:717
log4j日志等级
1.logger.debug("Debug ...")或logger.info("Info ...")或logger.warn("Warn ...")或logger.error("Error ...") 都只输出对应的信息,即logger.debug只输出debug的信息,info只输出info的信...
分类:其他好文   时间:2014-04-30 20:41:18    阅读次数:704
流程实例
1 package com.kite.pi; 2 3 import java.util.List; 4 5 import org.jbpm.api.Configuration; 6 import org.jbpm.api.ProcessInstance; 7 import org...
分类:其他好文   时间:2014-04-30 20:38:40    阅读次数:514
C# ?(问号)的三个用处
public DateTime? StatusDateTime = null;脑子便也出现个问号,这是什么意思呢?网上搜下,总结如下:1. 可空类型修饰符(?):引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空。例如:string str=null; 是正确的,int i=null...
分类:其他好文   时间:2014-04-30 20:16:58    阅读次数:474
python文件操作
1.文件的基本操作1.1文件的打开或创建文件的打开或创建可以使用内置函数file(别名open)。函数声明如下:file(name[,mode[,buffering]])->fileobject或open(name[,mode[,buffering]])->fileobject其中,name表示被打...
分类:编程语言   时间:2014-04-30 19:48:22    阅读次数:517
如何应对不支持cookie的浏览器?
如何应对不支持 cookie 的浏览器? 如果您的应用程序需要和不支持 cookie 的浏览器打交道,那么您不得不使用其他的办法 在您的应用程序中的页面之间传递信息。这里有两种办法: 1. 向 URL 添加参数 您可以向 URL 添加参数: Go to Welcome Page ...
分类:其他好文   时间:2014-04-30 19:42:52    阅读次数:522
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!