码迷,mamicode.com
首页 >  
搜索关键字:write    ( 14678个结果
write()和prinln()的区别?
输出数字不同: write()输出数字转换为字符,println原样输出。输出null不同: write()输出引用类型的时候调用的toString转换为String数据,因此如果对象为null那么直接抛出空指针异常。Println直接输出null。
分类:其他好文   时间:2014-05-15 22:28:14    阅读次数:287
web编码
1各种编码A .1 html编码 -HTML标签this.Response.Write(this.Server.HtmlEncode("的作用将文本设置为标题样式!"));//使 等等的特殊符号,已文本性质显示输出:的作用将文本设置为标题样式!A.2不用html编码-HTML标签this.Respo...
分类:Web程序   时间:2014-05-15 18:07:30    阅读次数:343
信息写入记事本方法
/// /// 信息写入记事本 /// /// /// public static void Write(string text, string path) { try { DateTime newDat...
分类:其他好文   时间:2014-05-15 17:51:53    阅读次数:262
马哥学习笔记十六——MySQL进阶之事务和隔离级别
连接管理器: 接受请求 创建线程 认证用户 建立安全连接并发控制: mbox:MDA C/S: 100 10分钟: 多版本并发控制: MVCC锁: 读锁:共享锁 写锁:独占锁 LOCK TABLES tb_name {READ|WRITE}; UNLOCK TABLES...
分类:数据库   时间:2014-05-15 17:29:22    阅读次数:423
sqlite 数据库打开失败
今天在做Android电子词典的时候,数据库打不开,报错为:Could not open the database in read/write mode。后来才发现犯了一个低级错误,没有设置权限。添加权限即可:希望大家不要犯这种白痴错误。
分类:数据库   时间:2014-05-15 17:22:42    阅读次数:386
[LeetCode]Longest Common Prefix
Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings....
分类:其他好文   时间:2014-05-15 13:27:07    阅读次数:233
CareerCup之1.7 Set Matrix Zeroes
【题目】 原文: 1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0. 译文: 写一个函数处理一个MxN的矩阵,如果矩阵中某个元素为0,那么把它所在的行和列都置为0. 【分析】 【思路一】 遍历一次矩阵...
分类:其他好文   时间:2014-05-15 12:27:37    阅读次数:293
跟我一起学JQuery插件开发教程
摘自:http://www.poluoluo.com/jzxy/201204/163035.html在逛codeproject网站的时候,突然看到一篇文章:How to write plugin in Jquery.如果对E文好的同学 ,可以看上面的连接。现在我把上面网站的及结合自己的想法写这篇文章...
分类:Web程序   时间:2014-05-15 10:36:02    阅读次数:405
Javascript中的new
直接上代码function test () { } document.write(typeof test() + "") document.write(typeof new test() + "")输出结果undefinedundefined好理解,因为test函数没有返回值。那new的时候为什么会...
分类:编程语言   时间:2014-05-15 10:00:35    阅读次数:367
UVA之1121 - Subsequence
【题目】 A sequence of N positive integers (10 N , each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the minimal length of the subse...
分类:其他好文   时间:2014-05-15 07:58:17    阅读次数:329
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!