摘要: 一: 二: 三: 四: 阅读全文
posted @ 2018-06-20 20:08 喵卖皮 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 第二题: 阅读全文
posted @ 2018-06-07 20:53 喵卖皮 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 6-17 指针应该先有地址才可以被赋值,所以改为如下: 6-18 在分配内存使用完后要释放, 期中: 3 book。cpp book.h main.cpp 阅读全文
posted @ 2018-05-23 22:10 喵卖皮 阅读(87) 评论(0) 推荐(0) 编辑
摘要: Fraction 阅读全文
posted @ 2018-04-23 23:29 喵卖皮 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; class Rectangle{ public: void attribute(float newL,float newW); void area(); private: int length,width; }; void Rectangle::attribute(float newL,float newW... 阅读全文
posted @ 2018-04-08 12:18 喵卖皮 阅读(78) 评论(1) 推荐(0) 编辑