(1)下载ant:http://ant.apache.org/bindownload.cgi(2)解压后放在指定的文件夹中(/usr/lib)(3) sudo chmod 777 /usr/lib/ant1.9.4(4)配置环境变量vi /etc/profilevi /etc/bash.bashrc...
分类:
其他好文 时间:
2014-07-02 22:33:27
阅读次数:
256
使用CImage类1.在stdafx.h中加入#include 2.在xxxdlg.h中添加CImage m_Img3.在OnInitDialog中添加m_Img.Load(_T("res\\1.png"));4.在OnPaint()添加显示png的代码: m_Img.Draw(GetDC()->m...
分类:
其他好文 时间:
2014-07-02 22:32:02
阅读次数:
291
参考文献:http://www.html-5.cn/Manual/Zepto/Source code on Github
分类:
编程语言 时间:
2014-07-02 22:27:00
阅读次数:
198
The principle to create Object Constants is that make variables shouldn't be changed stand out using all caps and add constants as static properties t...
分类:
编程语言 时间:
2014-07-02 20:28:47
阅读次数:
210
http://stackoverflow.com/questions/6625667/jquery-click-get-value-of-attributes-of-a-href/* Add a listner to Group buttons */ $('a.preActNav').clic...
分类:
Web程序 时间:
2014-07-02 20:22:43
阅读次数:
302
在成员函数内定义static变量成员函数内的局部变量可以是static的。如果将成员函数内的某个局部变量定义为静态变量,该类的所有对象在调用这个成员函数时将共享这个变量。例3-40本例在成员函数m中定义了一个static变量s,由于s定义在程序块内,它拥有程序块范围,因此它只能在m内部访问。每调用m...
分类:
其他好文 时间:
2014-07-02 19:52:53
阅读次数:
175
最近在用EasyUI做项目是发现自带的Icon图标太少,而且不是很美观。于是就有了下面的东西。直接上图:(纯属个人无聊之作勿喷)css及图标下载地址:http://download.csdn.net/detail/miracle98/7579723
分类:
其他好文 时间:
2014-07-02 14:31:23
阅读次数:
853
The Direct I/O (Load/Store) module(即是LSU) serves as the source of all outgoing direct I/O packets(LSU用于配置发起数据读/写的SRIO设备端,发起端发送Direct IO包). With direct I/O, the RapidIO packet contains the specific add...
分类:
其他好文 时间:
2014-07-02 08:48:15
阅读次数:
472
在现有类和结构体的类型基础上,扩展新的功能。 语法:extension SomeType{// new functionality to add to SomeType goes here}An extension can extend an existing type to make itadopt one or more protocols.Where this is the case,the...
分类:
其他好文 时间:
2014-07-02 07:36:22
阅读次数:
244
用NSXMLParser解析XML文件过程:
1 创建NSXMLParser实例,并传入从服务器接收XML数据。
2 定义解析器代理
3 解析器解析。
4 通过解析代理方法完成XML数据的解析。
#pragma mark 加载xml
- (void)loadXML
{
//获取网络数据。
NSLog(@"load xml");
//从web服务器加载...
分类:
移动开发 时间:
2014-07-02 07:20:04
阅读次数:
228