摘要: 第一种调用方法:demo#include using namespace std;class Text{public: Text() // 无参数构造函数 { m_a = 0; m_b = 0; cout #include using namespace std;class Location{... 阅读全文
posted @ 2015-06-10 23:13 Say舞步 阅读(311) 评论(0) 推荐(0) 编辑
摘要: demo#include using namespace std;class Text{public: Text() // 无参数构造函数 { m_a = 0; m_b = 0; cout << "无参数构造函数" << endl; } Text(int a) // 有参数构造函数 { m_... 阅读全文
posted @ 2015-06-10 21:08 Say舞步 阅读(537) 评论(0) 推荐(0) 编辑
摘要: Xiangqi is one of the most popular two-player board games in China. The game represents a battlebetween two armies with the goal of capturing the enem... 阅读全文
posted @ 2015-06-10 19:24 Say舞步 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Some message encoding schemes require that an encoded message be sent in two parts. The first part, called the header, contains the characters of the ... 阅读全文
posted @ 2015-06-10 16:53 Say舞步 阅读(130) 评论(0) 推荐(0) 编辑
摘要: In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every ... 阅读全文
posted @ 2015-06-10 16:13 Say舞步 阅读(128) 评论(0) 推荐(0) 编辑
摘要: In ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as th... 阅读全文
posted @ 2015-06-10 14:16 Say舞步 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent bet... 阅读全文
posted @ 2015-06-10 13:12 Say舞步 阅读(101) 评论(0) 推荐(0) 编辑