摘要:静态链接
平台: windows2000/xp
工具: vc++ 6.0
创建步骤:
1 新建项目: win32 static library;
2 选择pre-compliled header;
3 编辑头文件和实现文件;
4 编译, 生成lib文件;
参考代码:
//sum.h
#ifndef mysum
#define mysum
extern "c"
{
int sum(int n);
......
摘要:what is a java virtual machine?
to understand the java virtual machine you must first be aware that you may be talking about any of three different things when you say "java virtual machine." you may be speaking of:
......
TIJ swotJAVA的初学者(三) 1.3 the hidden implementation
java has three keywords to set the boundaries: public, private and protected. 【相关文章:CMM中的度量 Measurement】
access control enables users to solve their particular problems without thinking about the inner construction. also, it allows the programmer to update the internal working without worrying about how the change will affect the client programmer. 【扩展阅读:关于组织软件过程财富库-Org Soft】
"friendly" access allows classes to access the friendly members of other classes in the same package. 【扩展信息:配置管理- 功能审计FCA和物理审计PC】
protected acts like private, except that an inheriting class has access to protected members, but not private members.
摘要:sax指的是sample application for xml。他的工作过程可以用这样一个例子来说明。有这样一列数有正数有负数,要统计其中正数和负数的数量,我们用的方法就是从头开始一个一个的和零比较,然后再计算相应的数量。这个方法就是和sax方法比较类似。sax处理xml的方法也是这样,从头开始读取文件看我们获得的对所获得的元素进行处理。下面介绍sax在java中的应用。
要想在java中使用sax处理xml,首先要拥有一个xml解析类,还要拥有一个s......