![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++ class
文章平均质量分 77
Nancy_Fan16
这个作者很懒,什么都没留下…
展开
-
CArray 2&CHugeInt
好久没来博客了,我决定把这里改造成一个程序媛的博客HOMEWORK_03_03二维指针是什么鬼 int** ptr;HOMEWORK_03_04静态数组是否需要重载operator= & copy constructor?——NOthe memory space is constructed separatelywhen the & is needed?——when you wanted the原创 2016-03-20 21:26:35 · 363 阅读 · 0 评论 -
class MyString
Homework_04_01不要随便加const(==)看清楚type 红线红线啊~~/*1) 写一个 MyString 类,使得下面程序的输出结果是:1. abcd - efgh - abcd -2. abcd -3.4. abcd - efgh -5. efgh -6. c7. abcd -8. ijAl -9. ijAl - mnop10. qrst - abcd -11. abcd - q原创 2016-03-20 21:26:38 · 675 阅读 · 0 评论 -
quiz: Polymorphism & qsort
深入理解指针CShape *pShapes[MAX]; //指针数组 ATTATION #include #include using namespace std;class CShape{public: virtual double area(){ return 0; } virtual void PrintArea(){}};class CTriangle:public CShape{pu原创 2016-03-20 21:26:41 · 287 阅读 · 0 评论