DebugerGreat questionsThese questions will solve most bugs:what method shows the symptom ? what lines of code produces that symptom ?what is the state...
分类:
编程语言 时间:
2014-07-16 23:13:29
阅读次数:
367
题目链接 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two ...
分类:
其他好文 时间:
2014-07-07 22:25:30
阅读次数:
359
Problem Description:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most...
分类:
其他好文 时间:
2014-07-07 15:24:05
阅读次数:
206
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-07-03 11:53:07
阅读次数:
182
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?
分类:
其他好文 时间:
2014-07-03 11:51:05
阅读次数:
117
之前在windows下使用python调用某些模块时都会报错,像这样:C:\Documents and Settings\Administrator>python -m CGIHTTPServerTraceback (most recent call last): File "C:\Python2....
分类:
编程语言 时间:
2014-07-03 09:41:18
阅读次数:
656
Apart from syntax, there are some differences when writing scripts in C# or Boo. Most notable are:除了句法规则, 使用C#或Boo编写脚本还有一些不同,当.需要特别注意的是:1. Inherit fro...
分类:
其他好文 时间:
2014-07-02 23:22:00
阅读次数:
307
Accessors
存取方法
All instance variables are private in Objective-C by default, so you should use accessors to get and set values in most cases. There are two syntaxes. This is the traditional 1.x syntax:
OC中所有的实例变量默认是私有的,所以多数情况下你应该使用访问器来获得和设置实例变量的值。访问器有...
分类:
其他好文 时间:
2014-07-02 08:39:04
阅读次数:
231
Normal: 法线Normao mapping: 法线贴图Lighting mapping: 光照贴图Bump mapping: 凹凸贴图;模拟粗糙外表面的技术。 FX-Water simple.shader中即用到了。模拟波浪效果。Rim lighting: 边缘光照; 在对象的边缘部分添加?亮...
分类:
其他好文 时间:
2014-06-30 23:27:25
阅读次数:
263