C++、C
vanillaasp
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
对象的声明,类的构造函数和拷贝构造函数何时调用
[code="c++"]\ class Point { public: Point(int x=0,int y=0 ); Point(Point&); virtual ~Point(); int x,y; }; // Point.cpp: implementation of the Point class. // /////////////////////...2009-03-11 17:21:42 · 161 阅读 · 0 评论 -
c++上机实验
6. 编程输出如下图形: * ***** ********* ************* ***************** ********************* [code="c++"] /* title:3-6 input: n lines output: 金字塔* */ #include using nam...2009-03-27 14:59:15 · 155 阅读 · 0 评论 -
c socket 通信
错误 Linking... client.obj : error LNK2001: unresolved external symbol _send@16 client.obj : error LNK2001: unresolved external symbol _connect@12 client.obj : error LNK2001: unresolved external sym...2009-04-01 15:50:08 · 142 阅读 · 0 评论 -
c++关于继承调用的问题 父类指针指向子类
#include <iostream> using namespace std; class A { public: virtual void F(){ cout<<"A::F()"<<endl;G(); } void G(){cout<<"A::G()\n";} void H(){cout<<2009-06-25 15:46:56 · 315 阅读 · 0 评论
分享