
C++PP刷题
hahahzzzzz
这个作者很懒,什么都没留下…
展开
-
C++PP 11-6
//stonewt.h #ifndef STONEWT_H_ #define STONEWT_H_ class Stonewt { private: enum{ Lbs_per_stn = 14 }; int m_stone; double m_pds_left; double m_pounds; public: Stonewt(double lbs); S原创 2015-05-11 22:40:41 · 321 阅读 · 0 评论 -
C++PP 14-4
//person.h #ifndef PERSON_H_ #define PERSON_H_ #include using std::ostream; class Person { private: char * m_lastname; //名 char * m_firstname; //姓 public: Person(); Perso原创 2015-05-11 22:43:26 · 343 阅读 · 0 评论 -
C++ P P 16-4
// 729.4.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include //使用vector 模板类 #include //使用sort() #include //使用ostream_iterator模板 using namespace std;原创 2015-05-07 13:02:09 · 275 阅读 · 0 评论