/**
 * Default constructor
 * INPUT PARAMETERS: none
 * INPUT/OUTPUT PARAMETERS: none
 * RETURNS: n/a
 *
 * Initializes the instance.
 */
UselessCommentsDemo::UselessCommentsDemo()
   : data( NULL )
{
}

/**
 * Destructor
 * INPUT PARAMETERS: none
 * INPUT/OUTPUT PARAMETERS: none
 * RETURNS: n/a
 *
 * Does nothing.
 */
UselessCommentsDemo::~UselessCommentsDemo()
{
}

/**
 * Copy constructor
 * INPUT PARAMETERS:
 *   other -- an instance of this class
 * INPUT/OUTPUT PARAMETERS: none
 * RETURNS: n/a
 *
 * Initializes the new instance as a copy of the other instance.
 */
UselessCommentsDemo::UselessCommentsDemo(const UselessCommentsDemo& other)
{
   this->data = other.data;
}
Top Answers