// file: que_cstr_2.cc
//

// isip include files
//
#include "question.h"
#include "question_constants.h"

// method: constructor
//
// arguments:
//     Question& question_a: (input) Question object to copy
//
// return: none
//
// this is the copy constructor
//
Question::Question(Question& question_a) {
  
  // set the attribute
  //
  attribute_d = new char_1[strlen((char*)question_a.attribute_d) + 1];
  strcpy((char*)attribute_d, (char*)(question_a.attribute_d));
  
  // set the direction flag and phone position
  //
  direction_d = question_a.direction_d;
  num_d = question_a.num_d;
  
  // exit gracefully
  //
}
