2016年5月29日

摘要: #include "stdafx.h" #include #define _NRT_SECURITY_NO_WANING using namespace std; class IProgram { public: virtual void getSal()=0; }; class Program:IProgram { public: Program(char *name,... 阅读全文
posted @ 2016-05-29 21:11 听哥哥的话 阅读(130) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication34.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; class Parent { public: Parent() { //cout print(); //c->print(); //p++; ... 阅读全文
posted @ 2016-05-29 17:50 听哥哥的话 阅读(2031) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication33.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; #define _CRT_SECURE_NO_WARNINGS class A { public: A(A* a) { cout << "1" << endl; } A(const... 阅读全文
posted @ 2016-05-29 15:51 听哥哥的话 阅读(227) 评论(0) 推荐(0) 编辑

导航