摘要: #include<iostream>usingnamespacestd;//mytest.cppintmain(intargc,char*argv[]){//line120constintN=10;//#ofelementsinarrayconstintg_nLargeRange=500*1024*1024;cout<<"Startoftests"<<endl;int*p1=newint(1);//usetocauseleakint*p2=newint[N];//allocateanintarrayint*p3=newint(2);//u 阅读全文
posted @ 2011-06-03 13:49 规格严格-功夫到家 阅读(1581) 评论(0) 推荐(0) 编辑
摘要: Serialization is a handy and powerful aspect of Java. Being able to persist objects onto disk and read them later is one of the most under-used features of Java I think. In the base cases, serialization can 'just work'. However, as more complicated object formats and design patterns are adop 阅读全文
posted @ 2011-06-03 09:37 规格严格-功夫到家 阅读(431) 评论(0) 推荐(0) 编辑