一直以为 int a[256]={0};是把a的所有元素初始化为0,int a[256]={1};是把a所有的元素初始化为1.调试的时查看内存发现不是那么一回事,翻了一下《The C++ Programming Language》总算有定论。PDF的竟然不然复制,就把它这章翻译了,如下5.2.1 ....
分类:
其他好文 时间:
2014-08-19 20:30:35
阅读次数:
262
APIAPI(Application Programming Interface,应用编程接口)其实就是操作系统留给应用程序的一个调用接口,应用程序通过调用操作系统的 API 而使操作系统去执行应用程序的命令(动作)。其实早在DOS时代就有 API 的概念,只不过那个时候的 API 是以中断调用的形...
一、Framework 简介(Introduction to Framework Programming Guide)Mac OS X 扩展了 framework 的功能,让我们能够利用它来共享代码和资源。通过 framework 我们可以共享所有形式的资源,如动态共享库,nib 文件,图像字符资源...
分类:
移动开发 时间:
2014-08-19 16:03:24
阅读次数:
265
Introduction This tutorial will help you to understand about Java OOP’S concepts with examples. Let’s discuss about what are the features of Object Oriented Programming. Writing object-oriented p...
分类:
编程语言 时间:
2014-08-18 23:42:53
阅读次数:
755
參考:W.N. Venables, D.M. Smith and the R DCT: Introduction to R -- Notes on R: A Programming Environment for Data Analysis andGraphics,2003. http://baye...
分类:
其他好文 时间:
2014-08-18 20:08:02
阅读次数:
560
《programming computer vision with python 》中denoise 算法有误,从网上好了可用的代码贴上,以便以后使用。书中错误的代码:def denoise(im,U_init,tolerance=0.1,tau=0.125,tv_weight=100): m...
分类:
编程语言 时间:
2014-08-18 14:22:32
阅读次数:
429
The registration of callback functions is very common in JavaScript web programming, for example to attach user interface event handlers (such as oncl...
分类:
编程语言 时间:
2014-08-18 02:48:43
阅读次数:
465
一、概念
AOP(Aspect-Oriented Programming,面向切面的编程),它是可以通过预编译方式和运行期动态代理实现在不修改源代码的情况下给程序动态统一添加功能的一种技术。它是一种新的方法论,它是对传统OOP编程的一种补充。
二、Aop原理
1.面向对象编程模型
OOP(面向对象编程)...
分类:
其他好文 时间:
2014-08-16 21:09:11
阅读次数:
230
到http://nginx.org/en/download.html下载最新版本的Nginx并安装.
一 下载并安装pcre库ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
tar zxvf pcre-8.30.tar.gz
./configure make make install
二 安装opens...
分类:
其他好文 时间:
2014-08-16 17:10:50
阅读次数:
412
AJAXXMLHttpRequest,是AJAX得以实现的基础他是一个对象,有几个需要记住的方法和属性:XMLHttpRequest方法open(method, url, async, username, password)method: post或geturl: 请求地址async: boolea...
分类:
其他好文 时间:
2014-08-16 16:15:30
阅读次数:
208