网上可以找到中文的办法,但作者提供了一个完整版下载。麻烦再下载不说,安全问题也得不到保障。其实解决办法很简单。问题描述:进入mono源码目录,配置后make,然后make install,但是提示缺少文件。下面便是解决方法与缺少文件的内容:mcs/tools/xbuild/targets/Micro...
分类:
系统相关 时间:
2014-06-26 22:29:23
阅读次数:
376
这个设计模式感觉非常简单,我们平时写程序的时候也是经常需要调用iterator的,C++和Java都是。
所以感觉没什么特别的,就是需要模仿C++或者Java的iterator类的功能吧。
这里简单写个,使用C++模仿Java的iterator一些功能,呵呵。
首先我们有一个集合类,而这个集合类包含了其他类,当我们需要遍历这个集合类包含的类的时候,就好使用iterator功能了。
比如有一...
分类:
其他好文 时间:
2014-06-26 10:20:36
阅读次数:
254
微软近期Open的职位:JOB TITLE: Senior Software Design EngineerDEPARTMENT: Microsoft Office Division ChinaIMMEDIATE SUPERVISOR: Development Lead/ManagerLocatio...
分类:
其他好文 时间:
2014-06-25 17:58:44
阅读次数:
293
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the v...
分类:
其他好文 时间:
2014-06-25 14:12:42
阅读次数:
214
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-06-25 12:59:40
阅读次数:
202
最近读了一本微电子书 Brian Mulloy 所著《Web API Design》感觉颇多收获,特对其内容做了个整理摘要以便回顾其观点精华以指导日常工作中的设计思路。
本文主要讲述 Web API 设计,追求一种更务实的 REST 风格。 正如作者所说 REST 是一种架构风格,而非严格的标准,没必要在形式定义上去做过多真论,到底什么才是真正的 REST? 设计的目的是为了表达...
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note:
You may not engage in multiple transactions at the same time (i...
分类:
其他好文 时间:
2014-06-24 23:28:43
阅读次数:
223
1. A2DP Introduction
The Advanced Audio Distribution Profile (A2DP) defines the protocols and procedures
that realize distribution of audio content of high-quality in mono or stereo on ACL
channels...
分类:
移动开发 时间:
2014-06-24 23:15:47
阅读次数:
509
题目
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key...
分类:
其他好文 时间:
2014-06-24 22:45:43
阅读次数:
202
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240