ATL: Active Template Library(活动模板库) 一种开发框架,通过它可以快速建立基于COM的组件基本特征: 1.对低级别COM功能的内置式支持:IUnknown, 类工厂, self-registration 2.支持IDL(interface definition l...
分类:
其他好文 时间:
2014-06-19 09:09:26
阅读次数:
265
从Emacs官方站点下载最新版解压后,运行./configure
得到错误信息:configure: error: The following required libraries were not found:
libXpm libjpeg libgif/libungif libtiff
用下面的命令安装依赖库:yum -y install libjpeg-devel.x86_64 gi...
分类:
其他好文 时间:
2014-06-15 15:05:23
阅读次数:
233
file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/UI...
分类:
其他好文 时间:
2014-06-15 14:33:40
阅读次数:
175
至少是模拟器目录有变
iOS8下路径变为:
/Users/username/Library/Developer/CoreSimulator/Devices/786824FF-6D4C-4D73-884A-696514481F7C/data/Containers/Data/Application/7D5B082E-53D5-4C60-86A0-1F6A0A1B98E3/Library/Cache...
分类:
移动开发 时间:
2014-06-15 12:26:58
阅读次数:
348
本篇记述c/c++中读取mat文件示例测试数据matioTest.zip下载地址:http://pan.baidu.com/s/1sjPkMsd1. 读取matioTest.zip中s.mat文件,数据为普通matrix 1 #include 2 #include 3 #include 4 ...
分类:
编程语言 时间:
2014-06-15 11:00:47
阅读次数:
448
原文:Swift语言指南(八)--语言基础之元组元组元组(Tuples)将多个值组合为一个复合值。元组内的值可以是任何类型,各个元素不需要为相同类型(各个元素之间类型独立,互不干扰--Joe.Huang)。下例中,(404, "Not Found")是一个描述HTTP状态码的元组。HTTP状态码是当...
分类:
其他好文 时间:
2014-06-15 00:44:56
阅读次数:
258
deborphan可以用来找出在系统中已经没有被依赖的套件。一般的情况是library会在其他套件需要的时候被牵引进来,但是当这些套件升级或删除后,被牵引进来的librarypackage都不会同时被删除。因此,久而久之,系统里就存在了很多的所谓orphanedpackages,就是说这些libra...
分类:
其他好文 时间:
2014-06-14 16:04:25
阅读次数:
404
1. Fragment基本用法
为了管理Activity中的fragments,需要调用Activity中的getFragmentManager()方法。因为FragmentManager的API是在Android 3.0,也即API level 11开始引入的,所以对于之前的版本,需要使用support library v4中的FragmentActivity,并且使用getSupportFr...
分类:
其他好文 时间:
2014-06-14 13:38:42
阅读次数:
188
1.首先需要安装必须的库,PCRE,zlib
sudo apt-get install libpcre3 libpcre3-dev
如果找不到文件的话就下载源文件进行安装。
2.解压下载的nginx源码,进入目录: sudo ./configure 得到的输出如下:
Configuration summary
+ using system PCRE library
+ ...
分类:
其他好文 时间:
2014-06-14 13:31:29
阅读次数:
219
Access restriction: The type CachedRowSetImpl is not accessible due to restriction on required library E:\MyEclipse10\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\rt.jar...
分类:
其他好文 时间:
2014-06-14 11:31:26
阅读次数:
195