码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
leetcode -- Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".class Solution {public: string addBinary(str...
分类:其他好文   时间:2014-05-30 08:39:11    阅读次数:270
javascript学习笔记---ECMAScript运算符(一元运算符)
一元运算符只有一个参数,即要操作的对象或值。它们是 ECMAScript 中最简单的运算符。deletedelete 运算符删除对以前定义的对象属性或方法的引用。例如:var o = new Object; o.name = "David"; alert(o.name); //输出 "David" ...
分类:编程语言   时间:2014-05-29 14:21:05    阅读次数:368
强制下载excel
/// /// /// /// /// 导出的文件路径 /// public static void DownLoadFile(HttpContextBase context, string...
分类:其他好文   时间:2014-05-29 14:17:58    阅读次数:260
HipHop的原理
HipHop的原理HipHop将PHP代码转换为高度优化的C++代码,然后再用g++编译器编译。它可以保持语义等效地执行源代码,但为了提高性能,牺牲了一些很少用到的特性,比如eval()。HipHop开发中的主要困难在于,在PHP和C++这两种很不一样的语言之间怎么实现转换。虽然PHP也可以写一些很...
分类:其他好文   时间:2014-05-29 13:47:10    阅读次数:227
void CWnd::SetWindowText(LPCTSTR lpszString) ASSERT(::IsWindow(m_hWnd)); Debug Assertion Failed
void CWnd::SetWindowText(LPCTSTR lpszString)ASSERT(::IsWindow(m_hWnd)); Debug Assertion Failed原因:ID和Resource中的控件没有关联起来,导致运行的时候,发现hWnd没有相应的对象,没有实例化,hWn...
分类:Windows程序   时间:2014-05-29 12:21:09    阅读次数:706
Oracle Parameter使用
string sqlStr = "update sys_case t set t.content =:CONTENT,t.property=:PROPERTY where id=:ID"; OracleParameter[] parameterValue = { ...
分类:数据库   时间:2014-05-29 12:18:04    阅读次数:283
HttpRequest Get Post,WebClient Get
#region HttpRequestGet public string HttpRequestGet(string url) { return HttpRequestGet(url, WebRequestMethods.Http.Get, "...
分类:Web程序   时间:2014-05-29 09:37:17    阅读次数:307
asp.net [AjaxMethod]
AjaxPro.2.dllcs 代码using AjaxPro;Utility.RegisterTypeForAjax(typeof(BOMdr_KT));[Ajax.AjaxMethod()]public string GetAddress(string UserID){ string Addre...
分类:Web程序   时间:2014-05-29 09:28:09    阅读次数:206
leetcode--Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-05-29 09:09:35    阅读次数:222
将控制台上的东西写到本地磁盘
/** *将控制台文件输出到本地磁盘 */ public void writeDiskInfo() { String dirName = "f:\\disk\\"; String fileName = "磁盘信息.xml"; File file = new File(di...
分类:其他好文   时间:2014-05-29 08:22:59    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!