09 2021 档案

摘要:1 // chapter12_1_cow.h 2 3 4 #ifndef LEARN_CPP_CHAPTER12_1_COW_H 5 #define LEARN_CPP_CHAPTER12_1_COW_H 6 7 class Cow { 8 private: 9 char name_[20]; 10 阅读全文
posted @ 2021-09-26 13:55 开心果壳好硬 阅读(227) 评论(0) 推荐(0)
摘要:最近开学,事情较多,过两天更新。。。 阅读全文
posted @ 2021-09-24 21:49 开心果壳好硬 阅读(70) 评论(0) 推荐(0)
摘要:1 // chapter10_1_account.h 2 3 #ifndef LEARN_CPP_CHAPTER10_1_ACCOUNT_H 4 #define LEARN_CPP_CHAPTER10_1_ACCOUNT_H 5 6 #include <iostream> 7 #include <s 阅读全文
posted @ 2021-09-08 21:01 开心果壳好硬 阅读(234) 评论(0) 推荐(0)
摘要:1 // chapter09_golf.h 2 3 #ifndef LEARN_CPP_CHAPTER09_GOLF_H 4 #define LEARN_CPP_CHAPTER09_GOLF_H 5 6 #include <cstring> 7 #include <iostream> 8 9 con 阅读全文
posted @ 2021-09-04 15:07 开心果壳好硬 阅读(228) 评论(0) 推荐(0)
摘要:1 void ch8_1_print(const std::string & str, int n = 0 ) { 2 using namespace std; 3 static int flag = 0; 4 ++ flag; 5 if (!n) 6 cout << str << endl; 7 阅读全文
posted @ 2021-09-01 17:18 开心果壳好硬 阅读(240) 评论(0) 推荐(0)