屏幕分辨率基础1.术语和概念术语说明备注Screen size(屏幕尺寸)指的是手机实际的物理尺寸,比如常用的2.8英寸,3.2英寸,3.5英寸,3.7英寸摩托罗拉milestone手机是3.7英寸Aspect Ratio(宽高比率)指的是实际的物理尺寸宽高比率,分为long和nolongMiles...
分类:
移动开发 时间:
2014-07-18 23:21:30
阅读次数:
319
Description
You have just finished a compiler design homework question where you had to find the parse tree of an expression. Unfortunately you left your assignment in the library, but lucki...
分类:
其他好文 时间:
2014-07-18 22:19:15
阅读次数:
249
>>Kill the app by swiping out the screen
The RC process is killed and activity stack is cleared. And thesystem will relaunch the rc process automatically. When user launch theapp, it will show the l...
分类:
移动开发 时间:
2014-07-18 21:30:13
阅读次数:
354
近日将电脑重装了一下,刚刚装上vs2005后打开以前的一个项目,居然出现了下面的错误: 未能加载文件或程序集“System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad...
分类:
Web程序 时间:
2014-07-18 20:12:39
阅读次数:
237
Whenever we want to add an instance of this custom view to the visible screen, we now need to:load the Nib, andextract the actual view from the array ...
分类:
其他好文 时间:
2014-07-18 10:15:11
阅读次数:
219
Chain of Responsibility in the Real WorldThe idea of the Chain Of Responsibility is that it avoids coupling the sender of the request to the receiver,...
分类:
其他好文 时间:
2014-07-18 08:36:38
阅读次数:
294
每天写代码,偶尔就会有让你抓狂的时候:代码改了千百遍,蓦然回首,Bug就在灯火阑珊处……这里就列举一些容易犯错的几个小地方,以后遇到了其他的,再慢慢添加。 1. 获取程序当前运行路径 情景复现:WPF客户端程序,开机自启动后无法进入主界面,卡在初始屏(Splash Screen) 处理问题:通...
分类:
其他好文 时间:
2014-07-17 22:28:25
阅读次数:
355
目录规范
目录规范——在开发中整体文件夹组织结构。
1.Requirement——需求文档文件夹
2.Design——设计文档文件夹
3.Test——集成测试,系统测试,测试报告,测试清单文件夹
4.Deployment——发布部署的文件夹
5.Study——预研,学习资料的文件夹
6.Src——源码文件夹
7.Help——帮助文档文件夹
基本命名规范
1.变量使用驼峰...
分类:
其他好文 时间:
2014-07-17 15:03:42
阅读次数:
270
步骤 1 : 假设窗体名为 Form1 ,将 Form1.design.cs , Form1.cs , Form1.resx 三个文件copy 到目标文件夹 2 : 先add existing ,将 Form1.design.cs添加进去 , 然后记得改 project namespace 3 .....
动态存储类
StrVec Class Design
StrVec Class Definition
class StrVec
{
public:
//构造函数
StrVec():elements(nullptr), first_free(nullptr), cap(nullptr){}
//用initializer_list初始化参数列表
StrVe...
分类:
其他好文 时间:
2014-07-17 10:22:21
阅读次数:
286