title: Assigning char x[] array to char* ptr
body: <p>I receive a character address and I want to have the character pointer hold the values in the character array</p>
  <pre><code>void assign(char set[]) {
      m_ptr = new char[strlen(set) + 1];
      strcpy(m_ptr, set);
  
      // OR
  
      m_ptr = set;
  </code></pre>
  <p>Are both ways okay? I also want to avoid memory leak as well, but I do have a destructor so I figure I am fine.</p>
  <pre><code>~Title() {
      delete[] m_ptr;
  }
  </code></pre>