Advertisement

C++语言训练_写一个集合类Set

阅读量:

复制代码
    <span style="font-size:32px;background-color: rgb(255, 255, 255);">这是一位老美的C++作业,写着练练手</span>

任务要求如下:

// Assignment 3 (25 points): Assignment 3 is comparable to example 8.
For this assignment, declare a class named "Set" within the C++ header file "Set.h". The class "Set" must contain two private member variables:

  1. A pointer to a "double" type variable.
  2. An "integer" that represents "the count of elements in the set".

// Class Set has the following two constructors.
// 1. A constructor that has no parameters that creates
// an empty set by setting set to NULL a

全部评论 (0)

还没有任何评论哟~