摘要:
#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 阅读全文
摘要:
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 阅读全文