靡不有初,鮮克有終 我希望通過寫博客提高自己的知識水平
分类:
其他好文 时间:
2015-09-30 01:02:50
阅读次数:
119
1 #include 2 #include 3 #include 4 5 typedef struct Node//定义结点 6 { 7 int data; 8 struct Node *pNext; 9 }NODE, *PNODE; 10 11 typ...
分类:
其他好文 时间:
2015-09-30 01:00:22
阅读次数:
194
探讨C#.NET下DropDownList的一个有趣的bug及其解决办法摘要:本文就C#.Net 环境下Web开发中经常使用的DropDownList控件的SelectedIndex属性进行了详细的探讨,发现了这一属性在使用中存在的问题,并经过测试,提出了回避和解决的办法。关键词:DropDownL...
分类:
其他好文 时间:
2015-09-30 00:58:29
阅读次数:
218
一、是否需要有代码规范1、这些规范都是官僚制度下产生的浪费大家的编程时间、影响人们开发效率, 浪费时间的东西。 这个观点我不敢苟同。个人认为仅“影响人们开发效率”一句是对的。然而这句话有褒义有贬。影响自然有好的影响,也有坏的影响。所以说,就个人开发而言,刻板的遵循大众定义的代码规范确实会打断程序员....
分类:
其他好文 时间:
2015-09-30 00:59:10
阅读次数:
125
题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1013 大三了,准备刷一下动态规划,保持思维的灵活性,这一次从zoj刷起,一道道刷,今天是9月29日,这是第一道。 这一道题目很长,题意:有n辆车,有三种材料,每种材料有...
分类:
其他好文 时间:
2015-09-30 00:57:31
阅读次数:
177
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:
其他好文 时间:
2015-09-30 00:57:28
阅读次数:
235
如何让div中的文字只显示一行,多余的文字隐藏并加上省略号(超链接形式)
分类:
其他好文 时间:
2015-09-30 00:56:21
阅读次数:
210
线性代数,行列式理解的必要步骤,就是行列式中的数表其实是多元一次方程组的系数,那么从解方程组的角度理解行列式会更加好想!要理解行列式,先理解方程组和高斯消元法,呵呵哒!
分类:
其他好文 时间:
2015-09-30 00:58:07
阅读次数:
253
结对伙伴第一次作业的代码复审GeneralDoes the code work? Does it perform its intended function, the logic is correct etc.代码可以正常工作Is all the code easily understood?小伙伴...
分类:
其他好文 时间:
2015-09-30 00:57:57
阅读次数:
155
Description:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeatin...
分类:
其他好文 时间:
2015-09-30 00:56:24
阅读次数:
145
定义定义了不同的算法族,并且之间可以互相替换,此模式让算法的变化独立于使用算法的客户。也就是将算法独立成类,在调用的时候动态的创建对应的类,调用其方法,从而使方法实现相对独立,再实现抽象成接口面向接口编程。举例类图代码实现 1 public class Context 2 { 3 ...
分类:
其他好文 时间:
2015-09-30 00:55:14
阅读次数:
125
MountService作为Vold的客户端,会接收来自vold的消息,并且内部定义保存了各种Volume相关的状态定义: 1、VolumeStateclass VolumeState { public static final int Init = -1; ...
分类:
其他好文 时间:
2015-09-30 00:53:59
阅读次数:
245
在查阅angularjs的官方文档发现: 文档中提到了throw异常angular.module('exceptionOverride', []).factory('$exceptionHandler', function() { return function(exception, cause.....
分类:
其他好文 时间:
2015-09-30 00:55:55
阅读次数:
524
Catch the sparkle: if only one number is duplicated in [1..n], all following numbers will be "shifted" right.class Solution {public: int findDuplic...
分类:
其他好文 时间:
2015-09-30 00:54:45
阅读次数:
164
setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);}catch(PDOException $e){ die("database connect fail".$e->getMessage());}/*try{ $pdo->begi...
分类:
其他好文 时间:
2015-09-30 00:52:24
阅读次数:
123